[ncl-install] 5.2.0 install, error with mpex15

Mark Van Moer mvanmoer at ncsa.illinois.edu
Fri May 7 08:22:57 MDT 2010


Hi, I've installed NCL 5.2.0 and ran ncargex -A. ncargex mpex15 failed because it couldn't find the png libraries. I added -lpng to the ifort line

$ ifort -O2 -o mpex15 mpex15.f -L/usr/apps/vis/ncl/5.2.0/lib -L/usr/local/X11R6/lib64 -L/usr/apps/vis/netcdf/netcdf-4.1-intel/lib -L/usr/apps/hdf/hdf4/v424-noncdf/lib -L/usr/apps/hdf/szip/lib -L/usr/apps/hdf/hdf5/v182/lib -lncarg -lncarg_gks -lncarg_c -lXpm -lX11 -lXext -lpng


and it worked. 

My question is, what should I have done in the build process so that ncargex would have known to build mpex15 with -lpng?

Thanks,
Mark


More information about the ncl-install mailing list