how to run internal test "make testin_1" etc  [SOLVED]

option, parallelism,...

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.
Locked
weitong
Posts: 26
Joined: Mon Sep 27, 2010 5:16 am

how to run internal test "make testin_1" etc

Post by weitong » Sun May 12, 2013 9:11 am

I am beginner with abinit.
Yestoday I just finished the installation with the help from this forums.

Today I continue to work on it following the installation notes from the web

Code: Select all

http://www.abinit.org/documentation/helpfiles/for-v7.2/install_notes/install.html


Come to the third part: 3. How to make the internal tests?

Code: Select all

[weitong@localhost abinit-7.2.1]$ make testin_1

make: *** No rule to make target `testin_1'. Stop.

I serached the abinit folder, found some files named test "testin_v1.in" , "testin_v5.in", "testin_bigdft.in", etc, in ~ /abinit-7.2.1/tets/built-in/Input. But there is no "testin_1" or "test_in".

PS: my installation steps:
1.export LD_LIBRARY_PATH=/usr/lib64/openmpi/lib:$LD_LIBRARY_PATH
2. $ ./configure --enable-mpi --with-mpi-prefix=/usr/lib64/openmpi/ --with-tardir=/home/weitong/.abinit/tarballs/
3. make mj4
4. make install
5. export LD_LIBRARY_PATH=/usr/lib64/openmpi/lib:$LD_LIBRARY_PATH

User avatar
gmatteo
Posts: 291
Joined: Sun Aug 16, 2009 5:40 pm

Re: how to run internal test "make testin_1" etc  [SOLVED]

Post by gmatteo » Sun May 12, 2013 11:29 am

serached the abinit folder, found some files named test "testin_v1.in" , "testin_v5.in", "testin_bigdft.in", etc, in ~ /abinit-7.2.1/tets/built-in/Input. But there is no "testin_1" or "test_in".


There's a typo in the documentation. Use

make testin_v1
make testin_v5
make testin_bigdft
...

BTW:
make without arguments will give the list of available options

weitong
Posts: 26
Joined: Mon Sep 27, 2010 5:16 am

Re: how to run internal test "make testin_1" etc

Post by weitong » Sun May 12, 2013 11:46 am

Got it.
Thanks!

dumindasamarakoon
Posts: 1
Joined: Thu Mar 09, 2017 9:27 pm

Re: how to run internal test "make testin_1" etc

Post by dumindasamarakoon » Thu Mar 09, 2017 10:02 pm

I installed abinit-7.4.1, using the following set of commands in a linux server.

1. Download, gunzip and untar the latest version.
2. ./configure
3. make
4. make install

Then I run the command

Code: Select all

make testin_v1
.
I got the following error message,

Code: Select all

make: *** No rule to make target `testin_v1'.  Stop.


But,

Code: Select all

make tests_in
command output the following message,


Code: Select all

make basic_tests
make[1]: Entering directory `/root/Downloads/abinit-7.4.1'
cd ./tests && make tests_in
make[2]: Entering directory `/root/Downloads/abinit-7.4.1/tests'
make testin_fast testin_v1 testin_v5 testin_bigdft testin_etsf_io testin_libxc testin_wannier90
make[3]: Entering directory `/root/Downloads/abinit-7.4.1/tests'
echo "Running built-in test in_fast"
Running built-in test in_fast
timeout="0" perl ./Scripts/run-basic-tests.pl built-in in_fast /root/Downloads/abinit-7.4.1/tests

 Status file, reporting on built-in test fast

 ==> The run finished cleanly.
     Moreover, comparison of the total energy, and other (few) relevant quantities with reference values has been successful.
     This does not mean that no problem is present, however.
     Please run the complete set of ABINIT tests to gain a better confidence in your installation.

echo "Running built-in test in_v1"
Running built-in test in_v1
timeout="0" perl ./Scripts/run-basic-tests.pl built-in in_v1 /root/Downloads/abinit-7.4.1/tests

 Status file, reporting on built-in test v1

 ==> The run finished cleanly.
     Moreover, comparison of the total energy, and other (few) relevant quantities with reference values has been successful.
     This does not mean that no problem is present, however.
     Please run the complete set of ABINIT tests to gain a better confidence in your installation.

echo "Running built-in test in_v5"
Running built-in test in_v5
timeout="0" perl ./Scripts/run-basic-tests.pl built-in in_v5 /root/Downloads/abinit-7.4.1/tests

 Status file, reporting on built-in test v5

 ==> The run finished cleanly.
     Moreover, comparison of the total energy, and other (few) relevant quantities with reference values has been successful.
     This does not mean that no problem is present, however.
     Please run the complete set of ABINIT tests to gain a better confidence in your installation.

make[3]: Nothing to be done for `testin_bigdft'.
make[3]: Nothing to be done for `testin_etsf_io'.
make[3]: Nothing to be done for `testin_libxc'.
make[3]: Nothing to be done for `testin_wannier90'.
make[3]: Leaving directory `/root/Downloads/abinit-7.4.1/tests'
make[2]: Leaving directory `/root/Downloads/abinit-7.4.1/tests'
make[1]: Leaving directory `/root/Downloads/abinit-7.4.1'


What could be the issue with the testin_v1 ?

thelifeofapanca
Posts: 2
Joined: Sat Mar 25, 2017 4:15 pm
Contact:

Re: how to run internal test "make testin_1" etc

Post by thelifeofapanca » Sun Mar 26, 2017 5:51 pm

gmatteo wrote:
serached the abinit folder, found some files named test "testin_v1.in" , "testin_v5.in", "testin_bigdft.in", etc, in ~ /abinit-7.2.1/tets/built-in/Input. But there is no "testin_1" or "test_in".


There's a typo in the documentation. Use

make testin_v1
make testin_v5
make testin_bigdft
...

BTW:
make without arguments will give the list of available options



Great thx!

Locked