I have figured out how to properly name the RASPA_DIR variable to my home directory and so my home directory structure looks like this:
amogh (home)
- RASPA
- RASPA_2
- RASPA2 (github repo)
- venv
Despite this, I tried running some of the sample simulations that come with the Github repo and hit a segfault when executing the run file. I used BookChapter/6-GrandCanonicalAdsorption/Methane example simulation which has all of the required files in its folder locally and modified the run file to this:
#! /bin/sh -f
export RASPA_DIR=$/RASPA/simulations
export DYLD_LIBRARY_PATH=${RASPA_DIR}/lib
export LD_LIBRARY_PATH=${RASPA_DIR}/lib
/Users/amogh/RASPA/simulations/bin/simulate -simulation.input
And this is the produced error when I try to run the "run" file from the home directory. I also tried to run this without the
"-simulation.input" parameter and it claimed that it is unable to open the input file. All of the ".def" that are mentioned to not be found are in that local folder, which is visible in the RASPA2 repo as well.
(venv) (base) amogh@Amoghs-MBP ~ % ./RASPA_2/RASPA2/examples/BookChapter/6-GrandCanonicalAdsorption/Methane/run
'pseudo_atoms.def' file not found and therefore not used
'force_field_mixing_rules.def' file not found and therefore not used
'force_field.def' file not found and therefore not used
./RASPA_2/RASPA2/examples/BookChapter/6-GrandCanonicalAdsorption/Methane/run: line 5: 1436 Segmentation fault: 11 /Users/amogh/RASPA/simulations/bin/simulate -simulation.input
Any guidance would be greatly appreciated!
amogh (home)
- RASPA
- RASPA_2
- RASPA2 (github repo)
- venv
Despite this, I tried running some of the sample simulations that come with the Github repo and hit a segfault when executing the run file. I used BookChapter/6-GrandCanonicalAdsorption/Methane example simulation which has all of the required files in its folder locally and modified the run file to this:
#! /bin/sh -f
export RASPA_DIR=$/RASPA/simulations
export DYLD_LIBRARY_PATH=${RASPA_DIR}/lib
export LD_LIBRARY_PATH=${RASPA_DIR}/lib
/Users/amogh/RASPA/simulations/bin/simulate -simulation.input
And this is the produced error when I try to run the "run" file from the home directory. I also tried to run this without the
"-simulation.input" parameter and it claimed that it is unable to open the input file. All of the ".def" that are mentioned to not be found are in that local folder, which is visible in the RASPA2 repo as well.
(venv) (base) amogh@Amoghs-MBP ~ % ./RASPA_2/RASPA2/examples/BookChapter/6-GrandCanonicalAdsorption/Methane/run
'pseudo_atoms.def' file not found and therefore not used
'force_field_mixing_rules.def' file not found and therefore not used
'force_field.def' file not found and therefore not used
./RASPA_2/RASPA2/examples/BookChapter/6-GrandCanonicalAdsorption/Methane/run: line 5: 1436 Segmentation fault: 11 /Users/amogh/RASPA/simulations/bin/simulate -simulation.input
Any guidance would be greatly appreciated!