Closed GretaTimaite closed 2 years ago
Hi, it may not be outlined in the getting started guide prominently enough but you need to point jpscore to the simulation settings it should process, I.e. an ini file. If no inifile is specified jpscore will look for a file called inifile.xml in the current working directory. See ˋjpscore —helpˋ for more info.
I might be misunderstanding but I think I encounter the problem in opening the terminal in the JPS directory. I get the error when I'm trying to follow this in your guide:
To run this demo on OSX open the terminal in the JuPedSim directory and type:
Based on my understanding, I have to open jpscore in the directory, but I get the problem I indicated earlier (also see below).
Hence, I cannot specify an ini file or run an example simulation you provide in your guide:
./jpscore.exe ./examples/jpscore/02_bottleneck/bottleneck_ini.xml
Given the console output I see in your screenshot it seems to me that you opened the jpscore
executable from finder (double clicked)
What meant by To run this demo on OSX open the terminal in the JuPedSim directory and type:
is that you need to open terminal.app and run the application from the command line. There you then can specify arguments such as location of the ini-file you want to process or ask for help output --help
Edit: To run one of the examples you would
cd ~/Desktop/jps
./jpscore examples/jpscore/02_bottleneck/bottleneck_ini.xml
@chraibi / @JetteSchumann I think we need to elaborate on the usage of jpscore a bit more in the documentation and underline that this is a pure CLI application. Hence the Documentation label.
Fab, thank you very much! Everything seems working now :)
@GretaTimaite Your welcome!
If you have further questions, e.g. model specific issues or more general questions feel free to join us in Rocket Chat @ https://juchat.fz-juelich.de/ You can either login with your GitHub credentials or with your University account (I just double checked and I can select University Leeds as ID provider). Once connected go to the #jupedsim-usergroup
channel or you can message me directly there as @Ozaq
Hi,
I'm trying to install JuPedSim on my Mac (Monterey 12.3.1) and I followed the steps outlined on the "Installation" webpage, however I get the following two errors when I try to run
jpscore
.I've also installed the dependencies and libraries needed for compilation (not sure it was necessary), but it didn't solve an issue. Any ideas what might have caused it and how to fix it?