linking with NETCDF lib fails in AIX
Posted: Thu Sep 02, 2010 3:13 pm
Dear All
I compiled the yambo successfully in p6 machines without NETCDF. I installed NETCDF successfully , But now I am trying to recompile with NETCDF according to following:
./configure --build=powerpc-ibm FC=xlf90_r F77=xlf_r CC=xlc_r CPP=cpp FCFLAGS="-O2 -q64 -qstrict -qarch=pwr6 -qtune=pwr6 -qmaxmem=-1 -qsuffix=f=f" CFLAGS="-q64" UFFLAGS="-q64 -O0" --with-p2y="4.0" --with-iotk=/u/kazempou/espresso-4.0.5/iotk --with-netcdf-include="/usr/local/include" --with-netcdf-lib="/usr/local/lib"
But the configuration dosn't find the path /usr/local/include and /usr/local/lib
and the message is:
checking for NetCDF in /usr/local/lib... no
in lib directory I have following files:
libnetcdf.a libnetcdf.la libnetcdf_c++.a libnetcdf_c++.la pkgconfig
What goes wrong? How can I solve the problem?
Best
Ali Kazempour,Isfahan Univ. of Tech,Iran
I compiled the yambo successfully in p6 machines without NETCDF. I installed NETCDF successfully , But now I am trying to recompile with NETCDF according to following:
./configure --build=powerpc-ibm FC=xlf90_r F77=xlf_r CC=xlc_r CPP=cpp FCFLAGS="-O2 -q64 -qstrict -qarch=pwr6 -qtune=pwr6 -qmaxmem=-1 -qsuffix=f=f" CFLAGS="-q64" UFFLAGS="-q64 -O0" --with-p2y="4.0" --with-iotk=/u/kazempou/espresso-4.0.5/iotk --with-netcdf-include="/usr/local/include" --with-netcdf-lib="/usr/local/lib"
But the configuration dosn't find the path /usr/local/include and /usr/local/lib
and the message is:
checking for NetCDF in /usr/local/lib... no
in lib directory I have following files:
libnetcdf.a libnetcdf.la libnetcdf_c++.a libnetcdf_c++.la pkgconfig
What goes wrong? How can I solve the problem?
Best
Ali Kazempour,Isfahan Univ. of Tech,Iran