On Thu, December 25, 2008 5:14 am, Aaron wrote:
> Dear abinit users:
>
> I have been trying to install abinit in a Fedora cluster, but
have
> encountered a installation problem. After unpacking
abinit-5.6.4.tar.gz
> successfully, I executed commands in directory abinit-5.6.4/ in
accordance
> with
> the following sequence:
> ./config/scripts/makemake
> everything was fine in this step, and then:
> ./configure FC=ifort
> configuration completed without error, except a warning like this:
>
+--------------------------------------------------------------+
> | About the Intel Fortran compiler
|
>
+--------------------------------------------------------------+
> | Your compiler will work properly only if the
LD_LIBRARY_PATH |
> | and INTEL_LICENSE_FILE environment variables are correctly
|
> | set-up. Please make sure that this is the case before
|
> | building ABINIT.
|
> |
|
> | In most cases it means sourcing a script in the Intel
|
> | compiler install directory, e.g.:
|
> |
|
> | . /opt/intel/fc/9.1/bin/ifortvars.sh
|
> |
|
> | for a Bourne-like shell (do not forget the leading dot),
or |
> |
|
> | source /opt/intel/fc/9.1/bin/ifortvars.csh
|
> |
|
> | for a C-like shell.
|
> |
|
> | If you do not know what this is all about, please refer to
|
> | the Intel documentation or ask your system administrator.
|
> |
|
> | Please note that the same holds for the Intel C and C++
|
> | compilers.
|
>
+--------------------------------------------------------------+
> I don't know if the LD_LIBRARY_PATH and INTEL_LICENSE_FILE
environment
> variables are correctly set-up in my system, though I have checked
> environment
> variables and found these:
> *************************************************************
> declare -x
>
INTEL_LICENSE_FILE="/home/opt/intel/licenses:/home/opt/intel//fce/10.1.015/licenses:/opt/intel/licenses:/home/mfeng/intel/licenses:/Users/Shared/Library/Application
> Support/Intel/Licenses"
> declare -x
>
LD_LIBRARY_PATH="/home/opt/acml/4.0.0/pathscale64/lib:/home/opt/pathscale/lib/3.0:/home/opt/pathscale/lib/3.0/32:/home/opt/intel/impi/3.1/lib64:/home/opt/intel/mkl/
10.0.3.020/lib/em64t:/home/opt/intel//fce/10.1.015/lib"
> *************************************************************
> So I continued to execute command:
> make
> then errors appeared as following:
> **************************************************************
> checking for C compiler default output file name...
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> make[4]: *** [configure-stamp] Error 77
> make[4]: Leaving directory
> `/home/mfeng/abinit/abinit-5.6.4/plugins/netcdf'
> make[3]: *** [package-ready] Error 2
> make[3]: Leaving directory
> `/home/mfeng/abinit/abinit-5.6.4/plugins/netcdf'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
`/home/mfeng/abinit/abinit-5.6.4/plugins'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/mfeng/abinit/abinit-5.6.4'
> make: *** [all] Error 2
> **************************************************************
> I looked into config.log where I found these:
> **************************************************************
> conftest.c:16:28: error: ac_nonexistent.h: No such file or
directory
> configure:9254: $? = 1
> configure: failed program was:
> | /* confdefs.h. */
> | #define PACKAGE_NAME "ABINIT"
> | #define PACKAGE_TARNAME "abinit"
> | #define PACKAGE_VERSION "5.6.4"
> | #define PACKAGE_STRING "ABINIT 5.6.4"
> | #define PACKAGE_BUGREPORT "
https://bugs.launchpad.net/abinit/"
> | #define PACKAGE "abinit"
> | #define VERSION "5.6.4"
> | #define ABINIT_VERSION "5.6.4"
> | #define ABINIT_VERSION_MAJOR "5"
> | #define ABINIT_VERSION_MINOR "6"
> | #define ABINIT_VERSION_MICRO "4"
> | #define ABINIT_VERSION_BUILD "20081225"
> | #define ABINIT_VERSION_BASE "5.6"
> | /* end confdefs.h. */
> .........
> conftest.c: In function 'main':
> conftest.c:34: error: 'not' undeclared (first use in this function)
> conftest.c:34: error: (Each undeclared identifier is reported only
once
> conftest.c:34: error: for each function it appears in.)
> conftest.c:34: error: expected ';' before 'big'
> configure:11056: $? = 1
> configure: failed program was:
> | /* confdefs.h. */
> | #define PACKAGE_NAME "ABINIT"
> | #define PACKAGE_TARNAME "abinit"
> | #define PACKAGE_VERSION "5.6.4"
> | #define PACKAGE_STRING "ABINIT 5.6.4"
> | #define PACKAGE_BUGREPORT "
https://bugs.launchpad.net/abinit/"
> | #define PACKAGE "abinit"
> | #define VERSION "5.6.4"
> | #define ABINIT_VERSION "5.6.4"
> | #define ABINIT_VERSION_MAJOR "5"
> | #define ABINIT_VERSION_MINOR "6"
> | #define ABINIT_VERSION_MICRO "4"
> | #define ABINIT_VERSION_BUILD "20081225"
> | #define ABINIT_VERSION_BASE "5.6"
> | #define GCC_CC 1
> | #define STDC_HEADERS 1
> | #define HAVE_SYS_TYPES_H 1
> | #define HAVE_SYS_STAT_H 1
> | #define HAVE_STDLIB_H 1
> | #define HAVE_STRING_H 1
> | #define HAVE_MEMORY_H 1
> | #define HAVE_STRINGS_H 1
> | #define HAVE_INTTYPES_H 1
> | #define HAVE_STDINT_H 1
> | #define HAVE_UNISTD_H 1
> | /* end confdefs.h. */
> | #include <sys/types.h>
> | #include <sys/param.h>
> |
> | int
> | main ()
> | {
> | #if BYTE_ORDER != BIG_ENDIAN
> | not big endian
> | #endif
> |
> | ;
> ............
> configure:12443: checking whether we are using the GNU Fortran
compiler
> configure:12462: ifort -c conftest.F >&5
> fortcom: Error: conftest.F, line 3: Syntax error, found
END-OF-STATEMENT
> when
> expecting one of: => = . ( : %
> choke me
> ---------------^
> fortcom: Error: conftest.F, line 3: This statement is positioned
> incorrectly
> and/or has syntax errors.
> choke me
> ---------------^
> compilation aborted for conftest.F (code 1)
> configure:12468: $? = 1
> configure: failed program was:
> | program main
> | #ifndef __GNUC__
> | choke me
> | #endif
> |
> | end
>
**********************************************************************
> As I continued to execute command:
> make install
> compilation aborted with following errors:
>
***********************************************************************
> ifort -DHAVE_CONFIG_H -I. -I../.. -I../../src/defs -I../../src/defs
> -I/home/mfeng/abinit/abinit-5.6.4/plugins/netcdf
> -I/home/mfeng/abinit/abinit-5.6.4/plugins/etsf_io
> -I/home/mfeng/abinit/abinit-5.6.4/plugins/bigdft -g -O3 -arch
pn4 -tune
> pn4
> -xT -extend_source -vec-report0 -c -o chkdpr.o chkdpr.F90
> ifort -DHAVE_CONFIG_H -I. -I../.. -I../../src/defs -I../../src/defs
> -I/home/mfeng/abinit/abinit-5.6.4/plugins/netcdf
> -I/home/mfeng/abinit/abinit-5.6.4/plugins/etsf_io
> -I/home/mfeng/abinit/abinit-5.6.4/plugins/bigdft -g -O3 -arch
pn4 -tune
> pn4
> -xT -extend_source -vec-report0 -c -o chkinp.o chkinp.F90
> fortcom: Error: chkinp.F90, line 50: Error in opening the compiled
module
> file.
> Check INCLUDE paths. [ETSF_IO]
> use etsf_io
> -----^
> compilation aborted for chkinp.F90 (code 1)
> make[2]: *** [chkinp.o] Error 1
> make[2]: Leaving directory
`/home/mfeng/abinit/abinit-5.6.4/src/13iovars'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/mfeng/abinit/abinit-5.6.4/src'
> make: *** [install-recursive] Error 1
>
***************************************************************************
> I hope the problem would not be a serious one and someone
could give
> me
> some suggestions. Any advice is welcome.
>
> Best regards,
> Aaron
>