[Octopus-users] Compilation with netcdf

Roberto Olivares-Amaya robolivares at gmail.com
Thu Sep 23 19:08:20 WEST 2010


Hello:
I have tried to install octopus enabling netcdf. I have compiled netcdf
(although ubuntu also has its own version of netcdf, I also tried and failed
to link that version) .

My configure script has the following: where the LIBS_NETCDF environment
variable points to the lib directory where I installed netcdf.

export LIBS_NETCDF="-L/home/roberto/octopus/netcdf/exec/lib -lnetcdf"
/configure  --with-netcdf="$LIBS_NETCDF"
--with-libxc-prefix=/home/roberto/octopus/trunk/libxc

I trim the output of running configure to (what I think) is the relevant
part:

checking for netcdf... no
configure: WARNING: Could not find NetCDF library.
                *** Will compile without NetCDF support

However config.log does show I linked LIBS_NETCDF properly... Finally, other
attempts to link this (
http://www.tddft.org/programs/octopus/wiki/index.php/Compiling_octopus_in_OS_X#Build_netcdf)
have also failed.

Thanks for the help.

Roberto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.tddft.org/pipermail/octopus-users/attachments/20100923/a8e10465/attachment.html 


More information about the Octopus-users mailing list