#! /bin/sh # # default configuration options and compiler flags for different hosts # if test -z "$1" ; then HOSTNAME=`hostname` else HOSTNAME=$1 fi # set -x # case "${HOSTNAME}" in # ia64-nec-linux ds*) ./configure --prefix=$HOME/local \ --with-netcdf=/pool/ia64/netcdf/netcdf-3.6.0-p1 \ --with-szlib=$HOME/local \ CC=icc CFLAGS="-g -O2 -Wall -fno-alias -DMIN_BUF_SIZE=4194304" CFINT=-Df2cFortran ;; # i686-suse-linux linux | laptop) ./configure --prefix=$HOME/local \ --with-netcdf=$HOME/local \ --with-szlib=$HOME/local \ CC=g++ CFLAGS="-g -O2 -Wall -W -Wfloat-equal" CFINT=-Df2cFortran ;; gata) ./configure --prefix=$HOME/local/etch-ia32 \ --with-netcdf=/client \ --with-szlib=$HOME/local/etch-ia32 \ CC=gcc CFLAGS="-g -O2 -Wall -W -Wfloat-equal" CFINT=-Df2cFortran ;; # sparc-sun-solaris2.8 xxf) ./configure --prefix=$HOME/local/SUN \ --with-netcdf=/client \ --with-szlib=$HOME/local/solaris10 \ CC=cc CFLAGS="-fast" ;; # sparc-sun-solaris2.9 executor | yang | yin) ./configure --prefix=$HOME/local/SUN64 \ --with-netcdf=/scratch/small/m214/m214089/local/SunOS64 \ --with-szlib=$HOME/local/solaris10 \ CC=cc CFLAGS="-g -mt -fast -xtarget=native -m64" ;; # sx6-nec-superux12.2 cs*) ./configure --prefix=$HOME/local \ --with-netcdf=/pool/netcdf/netcdf-3.6.0-p1 \ CC=c++ \ CFLAGS="-O -Onooverlap,restrict=all -pvctl,fullmsg,noassume,loopcnt=1000000" ;; sx6) ./configure --host=sx6 --prefix=$HOME/local \ --with-netcdf=/pool/SX-6/netcdf/netcdf-3.6.0-p1 \ CC=sxc++ AR=sxar RANLIB=ls \ CFLAGS="-O -Onooverlap,restrict=all -pvctl,fullmsg,noassume,loopcnt=1000000" ;; # mips-sgi-irix6.5 ecgate1) ./configure --prefix=$HOME/local \ --with-netcdf=/home/ms/spdekplb/hmk/include,/home/ms/spdekplb/hmk/lib64 \ CC=cc CFLAGS="-O -n32" ;; # 5000-fujitsu-uxpv4.1_ES vpp5) ./configure --prefix=$HOME \ --with-netcdf=$HOME/PROJ \ CC=vcc CFLAGS="-O -Wv,-m3 -K4" ;; # alphaev56-dec-osf5.1 hpca) ./configure --prefix=$HOME/local \ --with-netcdf=/usr/local/lib/netcdf-3.5.0/LP64 \ CFLAGS="-q64 -q MAXMEM=-1" CFINT=-Dextname ;; *) echo "configuration for hostname $HOSTNAME not found!" ;; esac