# Invocation command line: # /home/lagavulin/a/scratch/yzheng/HPC2002-11/bin/runspec -c env_purdue_sun.cfg -e omp --reportable env_m ############################################################################ # env_purdue_sun.cfg # Sun configuration file for SPEC HPC2002 testing # # Author: Yili Zheng, yzheng@purdue.edu # Last updated: 10/18/2003 action = validate makeflags = -j 6 SPECLANG=/package/sun_compilers/7.0/sparc_sunos5.8/SUNWspro #MPIHOME=/home/minutes/b/yzheng/opt/mpich-1.2.5-shmem-sun MPIHOME=/home/yara/re/paramnt/tools/mpi/mpich/ch_shmem NETCDF=${SPEC}/netcdf-3.5.0 ENV_NETCDF=${NETCDF} PORTABILITY = -I${NETCDF}/include use_submit_for_speed=1 ######################################################################## default=default=omp=default: FC=${SPECLANG}/bin/f90 F77=${SPECLANG}/bin/f77 CC=${SPECLANG}/bin/cc CXX=${SPECLANG}/bin/CC CPP=${SPECLANG}/bin/fpp ENV_SPEC_HPG_PARALLEL=OMP OPTIMIZE = -fast -xarch=generic -xopenmp -xunroll=5 -I${NETCDF}/include -I. CPPFLAGS = -D_OPENMP EXTRA_LIBS = -L${NETCDF}/lib -lnetcdf ######################################################################## default=default=mpi=default: FC=${MPIHOME}/bin/mpif90 F77=${MPIHOME}/bin/mpif90 CC=${MPIHOME}/bin/mpicc CXX=${MPIHOME}/bin/CC CPP=${SPECLANG}/bin/fpp ENV_SPEC_HPG_PARALLEL=MPI OPTIMIZE = -fast -xarch=generic -I${NETCDF}/include -I. EXTRA_LIBS = -L${NETCDF}/lib -lnetcdf submit = ${MPIHOME}/bin/mpirun -np \${PARALLEL} $command