[ase-users] fail to compile Dacapo on Ubuntu 9.04
Amihai Silverman
amihai at technion.ac.il
Sun Sep 13 15:25:18 CEST 2009
Thank you for your reply,
Before installing dacapo I have installed netcdf ver. 3.6.1 and fftw
ver. 2.1.5, and followed the instructions to set
setenv NETCDF /usr/local/netcdf3-3.6.1-1.gfortran/lib
setenv FFTW /usr/local/fftw2-2.1.5-1.gfortran/lib
I guess that this is not the problem.
Any other idea ?
Thanks,
Amihai
TCC, Technion.
--
Marcin Dulak wrote:
> Dear Amihai,
>
> i see on the link line:
> /libnetcdf.a /libfftw.a
> Did you set NETCDF and FFTW variables (see
> https://wiki.fysik.dtu.dk/dacapo/Installation#dacapo)?
> First check if you have a version of netcdf >= 3.6.2, check this with:
> nm ${NETCDF}/libnetcdff.a | grep "T nf_strerror_"
> If ${NETCDF}/libnetcdff.a does not exist you have a version < 3.6.2
> (which is fine).
> The output of the previous command (use the ${NETCDF}/libnetcdf.a file
> in you have netcdf < 3.6.2) will tell you also if netcdf uses the second
> underscore or not.
> Verify that fftw uses the same underscoring convention as netcdf, and
> build dacapo with the correct convention.
>
> Best regards,
>
> Marcin
>
> Amihai Silverman wrote:
>> I fail to compile Dacapo on Ubuntu 9.04.
>> ASE, NetCDF, FFTW were compiled properly, but compiling Dacapo
>> fails with many errors such as:
>> ../netcdf/gfortran_fsecond_underscore/netcdfinterface.o: In function
>> `__netcdfinterface_MOD_local_error_handler':
>> netcdfinterface.F:(.text+0xa3b): undefined reference to `nf_strerror__'
>> ../netcdf/gfortran_fsecond_underscore/netcdfinterface.o: In function
>> `__netcdfinterface_MOD_nfsetmode':
>>
>> The compilation logs are below, I will be grateful for your help.
>> Thanks
>
More information about the ase-users
mailing list