ABINIT 7.10.2 compilation issues
Posted: Tue Jan 13, 2015 4:59 pm
Greetings,
recently I had to compiled ABINIT 7.10.2 from the sources on Debian 7 with GCC 4.8.1 and OpenMPI 1.8.2 and have the following notices:
1) Line 2756 of file src/57_iovars/chinkp.F90 after the macro expansion is too long for the default fortran behavior. My workaround was to add -ffree-line-length-none parameter to file config/wrappers/wrap-mpifc but maybe it should be solved better in code.
2) After the configuration I had to edit src/98_main/Makefile and to the LIBS variable add "-fopenmp -lfftw3 -lfftw3f -lfftw3_threads -lfftw3f_omp" parameters. Although I had these options included in configuration file (in attachment), it seems that the configure script creates the wrong Makefile. The options are in but have no effect during linking phase because nothing deals with variables where are these options set.
Sincerely Petr
PS: please allow to attach .ac or at least .txt files to the forum topics and sorry for using the "hack" to rename my .ac to .log.
recently I had to compiled ABINIT 7.10.2 from the sources on Debian 7 with GCC 4.8.1 and OpenMPI 1.8.2 and have the following notices:
1) Line 2756 of file src/57_iovars/chinkp.F90 after the macro expansion is too long for the default fortran behavior. My workaround was to add -ffree-line-length-none parameter to file config/wrappers/wrap-mpifc but maybe it should be solved better in code.
2) After the configuration I had to edit src/98_main/Makefile and to the LIBS variable add "-fopenmp -lfftw3 -lfftw3f -lfftw3_threads -lfftw3f_omp" parameters. Although I had these options included in configuration file (in attachment), it seems that the configure script creates the wrong Makefile. The options are in but have no effect during linking phase because nothing deals with variables where are these options set.
Sincerely Petr
PS: please allow to attach .ac or at least .txt files to the forum topics and sorry for using the "hack" to rename my .ac to .log.