I have managed to compile Abinit 7.6.3 with gcc version 4.9.0 on a rocks cluster node. The prefix for the components' libraries (such as Atlas, netcdf etc) is a non-standard library path: /share/apps/...
The program can be successfully executed when called, but error arises when I wish to run ./runtests to verify my compilation:
[sheng@comsics tests]$ ./runtests.py -j 4 fast
-bash: ./runtests.py: No such file or directory
I suspect that I have not added all the needed libraries to the system library paths, any idea on how to fix this? I have already added all the paths for the softwares I choose in configure step.
Abinit 7.6.3 ./runtests.py problem
Moderators: fgoudreault, mcote
Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
-
- Posts: 1
- Joined: Mon May 14, 2018 11:06 am
Re: Abinit 7.6.3 ./runtests.py problem
Code: Select all
-bash: ./runtests.py: No such file or directory
This means that runtests.py is not in your current working directory.
The script is located in ~abinit/tests/ where ~abinit is your top level directory.
If you are using a build directory to compile the code, you have to specify the location
of the script with a relative path instead of ./runtests.py
This point is explained at the end of the compilation:
Use the script `runtests.py` located in ~abinit/tests to validate the build
(requires python 2.7 or python >= 3.4)
To get help, cd to ~abinit/tests and issue:
$ ./runtests.py --help
To run the new test suite inside a build directory (e.g. ~abinit/build/tests), use:
$ ../../tests/runtests.py
This will create a directory build/tests/Test_suite with the results of the tests.