[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bgl-discuss] netcdf compilation on BGL
Hi,
I have been trying to install my code (Dacapo -
http://dcwww.camp.dtu.dk/campos//Dacapo/) on BGL. The code successfully
compiles till the point it starts linking libraries. Previously I had
problems with ESSL and MASS math libraries. But now I am using blas
instead (as Katherine suggested), which doesn't seem to give me any
problem. However, the netcdf installation I have lacks some required
functions (fortran related). I also tried the library in
/home/walkup/local/netcdf-3.5.1/lib/libnetcdf.a as I found it on the ANL
wiki page. But that also lacks some functions, although different from
what my installation doesn't have.
When I looked at my netcdf install log closely, I found that it can't
figure out the fortran related variables, e.g.
>>checking "xlf" as Fortran-90 compiler... failed to build test program.
I tried various variables for FC and FFLAGS, but couldn't get it to
work. The rest of the env vars that work are defined as follow, which I
hope are correct as I didn't see any problem with these.
setenv CPPFLAGS '-D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64' # large file
support
setenv CFLAGS '-g +DD64' # 64-bit mode
setenv FLIBS '-lU77'
setenv CXX '' # no 64-bit mode C++
compiler
Does anyone know what is missing here? Or have encountered similar
problems before? Any pointers are highly appreciated.
Thanks in advance,
Anand
- --------------------------------------------------------------------
To add or remove yourself from this mailing list, use the 'notifyme'
command on any BGL machine. To remove: notifyme -n, to add: notifyme -y.