make distclean export FC='ftn -O2' export F90='ftn -O2' export F95='ftn -O2' export CC='cc -O2' export CXX='CC -O2' export LOGFILE=build_zlib_pgi_opt.txt ./configure --prefix=/home/n01/n01/fionanem/local/optimised &> $LOGFILE make >> $LOGFILE make check >> $LOGFILE make install >> $LOGFILE cp -rp ~/local/optimised /work/n01/n01/fionanem/local/.
At the end of the installation the library files are copied to the the /work file system as part of the HDF5 and netCDF installations must be carried out via the batch system which can only access the work file system. The output from the make check is also examined to ensure that all the testers complete successfully.