#!/bin/sh cd lam-7.1.3 && \ ./configure --prefix=/usr/local/amber10 --disable-tv-queue --without-mpi2cpp \ --without-profiling --without-romio FC="g95" FFLAGS="-O0 -fno-second-underscore" \ CXX="g++" lamcerror=$? if [ "$lamcerror" -gt 0 ]; then echo "lam configure returned $lamcerror" echo "LAM configure failed! Check the above messages." exit 1 else echo "LAM configure succeeded." fi make clean make install cd ..