Re: [AMBER-Developers] Compilation fails for netcdf

From: David A Case <david.case.rutgers.edu>
Date: Mon, 12 Dec 2016 17:39:32 -0500

On Mon, Dec 12, 2016, Dave Cerutti wrote:

> When I try to compile with intel, I am getting stuck at the configure stage:
>
> Error: Could not compile with NetCDF Fortran interface.
>
> /opt/software/ClusterStudio/2013sp1/composer_xe_2013_sp1.0.080/bin/intel64/ifort
> -fPIC
> -I/opt/software/ClusterStudio/2013sp1/composer_xe_2013_sp1.0.080/mkl/include/intel64/lp64
> -I/opt/software/ClusterStudio/2013sp1/composer_xe_2013_sp1.0.080/mkl/include/fftw
> -I/opt/software/ClusterStudio/2013sp1/composer_xe_2013_sp1.0.080/mkl/include
> -I/mnt/home/cerutti/amber/include -o testp testp.f90
> /mnt/home/cerutti/amber/lib/libnetcdff.a
> /mnt/home/cerutti/amber/lib/libnetcdf.a
> Compile error follows:
> /mnt/home/cerutti/amber/lib/libnetcdff.a(netcdf.o): In function
> `netcdf_mp_nf90_inq_libvers_':
> netcdf.f90:(.text+0x25): undefined reference to `nf_inq_libvers_'

Did you try a "make uninstall" before doing the above. I've only got one
machine here (casegroup1) that has the Intel 2013 compilers:

casegroup1% which ifort
/cottus/opt/intel_2013/composer_xe_2013.1.117/composer_xe_2013.1.117/bin/intel64/ifort
casegroup1% ifort -v
ifort version 13.0.1

This compiler has no trouble with configuring netcdf. You (i.e. Dave Cerutti
can log in and give it a try, to see if you can track down what is different
about your machine than mine--aside from the seemingly small difference in
compiler versions. But be double-sure you don't have anything left over from
previous compilation attempts.

....dac


_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Mon Dec 12 2016 - 15:00:02 PST
Custom Search