[SOLVED] problem in installing abinit in ubuntu
Posted: Sat Apr 09, 2011 9:41 pm
Respected All,
I use ubuntu operating system in my pc. For compiling abinit-6.4.3, I have downloaded the abinit-6.4.3.tar.gz and extracted the abinit-6.4.3 file.
Then entering in the above directory I have followed the "./configure" step and there is no any problem.
In the step "make" the last is like following:
Keywords to use for test directory (automated sets of tests) :
tests_min Minimal set of tests (fast, seq, and vX with X=1..6)
tests_min4 Minimal set of tests, 4 threads at once
tests_acc Test accuracy
(=tests_min+gwdp+tutorial/tutorespfn+
bigdft/etsf_io/fox/libxc/netcdf/wannier90)
tests_acc4 Test accuracy, running 4 threads at once
tests_bench Test accuracy+cpu for benchmarks (with a report)
tests_speed Test cpu for benchmarks (quick, with a report)
The description of more detailed testing possibilities can be obtained from
'make help_dev' or 'make dev'. In particular, note the following actions :
(1) to test abinit on many different specific platforms :
tests_paral
(2) to test only the features as bigdft, gw, paw, or tddft :
tests_bigdft
tests_gw (all seq GW tests, except tutorial#gw_1 and gw_9, too long)
tests_paw
tests_tddft
==============================================================================
make[3]: Leaving directory `/home/amal/abinit-6.4.3/tests'
make[2]: Leaving directory `/home/amal/abinit-6.4.3/tests'
make[2]: Entering directory `/home/amal/abinit-6.4.3'
make[2]: Leaving directory `/home/amal/abinit-6.4.3'
make[1]: Leaving directory `/home/amal/abinit-6.4.3'
and in the final step "make install" the last part is like :
make[2]: Entering directory `/home/amal/abinit-6.4.3/src/95_drive'
make[3]: Entering directory `/home/amal/abinit-6.4.3/src/95_drive'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/amal/abinit-6.4.3/src/95_drive'
make[2]: Leaving directory `/home/amal/abinit-6.4.3/src/95_drive'
Making install in 98_main
make[2]: Entering directory `/home/amal/abinit-6.4.3/src/98_main'
make[3]: Entering directory `/home/amal/abinit-6.4.3/src/98_main'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c abinetcdf abinit aim anaddb band2eps conducti cut3d fftprof lwf mrgddb mrggkk mrgscr newsp optic ujdet macroave '/usr/local/bin'
/usr/bin/install: cannot create regular file `/usr/local/bin/abinetcdf': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/abinit': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/aim': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/anaddb': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/band2eps': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/conducti': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/cut3d': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/fftprof': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/lwf': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/mrgddb': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/mrggkk': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/mrgscr': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/newsp': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/optic': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/ujdet': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/macroave': Permission denied
make[3]: *** [install-binPROGRAMS] Error 1
make[3]: Leaving directory `/home/amal/abinit-6.4.3/src/98_main'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/amal/abinit-6.4.3/src/98_main'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/amal/abinit-6.4.3/src'
make: *** [install-recursive] Error 1
I can't understand where I am making mistake.
Are those steps I have followed wrong or anything else?
Please help me with suggestion what I should do to install it.
I use ubuntu operating system in my pc. For compiling abinit-6.4.3, I have downloaded the abinit-6.4.3.tar.gz and extracted the abinit-6.4.3 file.
Then entering in the above directory I have followed the "./configure" step and there is no any problem.
In the step "make" the last is like following:
Keywords to use for test directory (automated sets of tests) :
tests_min Minimal set of tests (fast, seq, and vX with X=1..6)
tests_min4 Minimal set of tests, 4 threads at once
tests_acc Test accuracy
(=tests_min+gwdp+tutorial/tutorespfn+
bigdft/etsf_io/fox/libxc/netcdf/wannier90)
tests_acc4 Test accuracy, running 4 threads at once
tests_bench Test accuracy+cpu for benchmarks (with a report)
tests_speed Test cpu for benchmarks (quick, with a report)
The description of more detailed testing possibilities can be obtained from
'make help_dev' or 'make dev'. In particular, note the following actions :
(1) to test abinit on many different specific platforms :
tests_paral
(2) to test only the features as bigdft, gw, paw, or tddft :
tests_bigdft
tests_gw (all seq GW tests, except tutorial#gw_1 and gw_9, too long)
tests_paw
tests_tddft
==============================================================================
make[3]: Leaving directory `/home/amal/abinit-6.4.3/tests'
make[2]: Leaving directory `/home/amal/abinit-6.4.3/tests'
make[2]: Entering directory `/home/amal/abinit-6.4.3'
make[2]: Leaving directory `/home/amal/abinit-6.4.3'
make[1]: Leaving directory `/home/amal/abinit-6.4.3'
and in the final step "make install" the last part is like :
make[2]: Entering directory `/home/amal/abinit-6.4.3/src/95_drive'
make[3]: Entering directory `/home/amal/abinit-6.4.3/src/95_drive'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/amal/abinit-6.4.3/src/95_drive'
make[2]: Leaving directory `/home/amal/abinit-6.4.3/src/95_drive'
Making install in 98_main
make[2]: Entering directory `/home/amal/abinit-6.4.3/src/98_main'
make[3]: Entering directory `/home/amal/abinit-6.4.3/src/98_main'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c abinetcdf abinit aim anaddb band2eps conducti cut3d fftprof lwf mrgddb mrggkk mrgscr newsp optic ujdet macroave '/usr/local/bin'
/usr/bin/install: cannot create regular file `/usr/local/bin/abinetcdf': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/abinit': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/aim': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/anaddb': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/band2eps': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/conducti': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/cut3d': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/fftprof': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/lwf': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/mrgddb': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/mrggkk': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/mrgscr': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/newsp': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/optic': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/ujdet': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/macroave': Permission denied
make[3]: *** [install-binPROGRAMS] Error 1
make[3]: Leaving directory `/home/amal/abinit-6.4.3/src/98_main'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/amal/abinit-6.4.3/src/98_main'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/amal/abinit-6.4.3/src'
make: *** [install-recursive] Error 1
I can't understand where I am making mistake.
Are those steps I have followed wrong or anything else?
Please help me with suggestion what I should do to install it.