-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interesting bug when trying to run tutorial 1.1 stan1 #169
Comments
Did you use the sample file in samples/tutorial1.1/stan1.in ?
As seen from this message, the error message should be
However, your message is
(The comma seems to be located in the front of LATTICE) Finally, thank you for reporting typo "EXPART". We will fix it. |
Exactly, the file from samples folder BTW, does "UnsupportedSystem" means HPhi won't support WSL? If I remember right, 9 months ago, I successfully compiled & run HPhi on Ubuntu WSL, or rather, is StdFace a new function of HPhi? |
StdFace is a tool for generating input files for the expert mode of HPhi which is automatically included in HPhi under building procedures. Since you use the original package, you don't mind the version of StdFace. If the error messages are different regardless of human errors such as copying mistakes, I think it has something to do with the version of gcc. The internal process of HPhi is to first check the type of lattice and then go to the model, but even though the chain is defined in lattice, the check process there does not seem to be functioning properly. Is it possible to tell us which gcc you are using, along with the version? |
I can reproduce your error message by changing a newline character such as LF and CR in stan1.in.
|
I don't understand why, when I trying to reproduce this phenomenon (reinstall Ubuntu 22.04 & compile), the HPhi is working fine I'm now frustrating as you guys now All those command after I reinstall Ubuntu 22.04 ↓ apt update
apt upgrade
apt installl gcc cmake golang-go gfortran liblapack-dev
cd (HPhi folder)
cmake -DCONFIG=gcc
make
cd src
./HPhi -s stan1.in # already copied from /HPhi_location/samples/tutorial_1.1/stan1.in |
@LazaruX512 |
nkf -Lu --overwrite stan1.in ↑ This command won't do anything to input file, the hash is same Even strange, gcc hasn't update since March 2024, so, I'm using same gcc these days, but it won't work till now |
This error happens when we use the following command:
If you did not change the input before this error happens, please ignore my comment When you see this phenomenon again even using the same input file, |
Info
HPhi asked me to run this script (↓) with expert mode
BTW, E X P E R T mode, not E X P A R T mode, dude!
Man! What can I say?
Misc
HPhi version: 3.5.2
Compiler: GCC
System: Ubuntu 22.04 LTS (WSL, Windows Subsystem for Linux) from Microsoft Store on Windows 10 Pro 22H2 19045.4529
CPU: i5-10210U @ 1.60GHz 2.11GHz
RAM: 16GB 2666MHz on board
GPU: Intel UHD Graphics 620, no external GPU
SSD: WD SN740 2TiB
The text was updated successfully, but these errors were encountered: