switcher compiler = intel-8.0.
./configure CC=icc CXX=icpc FC=ifort CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" --prefix=/home/merz/lib/lam-7.1.2b20
$PATHto find your new LAM executables first, which can be done in csh with:
setenv PATH '/home/merz/lib/lam-7.1.2b20/bin/:'$PATH
/opt, choose the most recent. To build parallel hdf5:
./configure --enable-fortran --enable-cxx --enable-parallel --enable-production CXX=mpiCC F9X=mpif77 CC=mpicc "CFLAGS=-O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" --prefix=/home/merz/lib/phdf5-1.6.4
noacnfs option, and you can quickly test by setting
$HDF5_PARAPREFIXto a local ext3 filesystem. The Fortran and C++ wrappers to the library are optional and not necessary for Chombo.
Make.defs.localfile to apply the following changes:
CXX = icpcMake sure that the HDF library and include file paths are set to agree with where you have them installed. This file also controls debug/optimization selection and compiler flags to support these modes. I have found that if I set
FC = ifort
MPI = TRUE
MPICXX = mpiCC
HDFINCFLAGS = -I/opt/hdf5-oscar-1.6.3/include
HDFLIBFLAGS = -L/opt/hdf5-oscar-1.6.3/lib -lhdf5 -lz
HDFMPILIBFLAGS= -L/home/merz/lib/phdf5-1.6.4/lib -lhdf5 -lz
DIM=3that there is a problem with the chombo fortran pre-processor and
$CHOMBO_HOME/lib/src/BoxTools/STATE.Hhad to be edited to have all comments removed. I have also found that
DEBUG=FALSEcauses a Makefile conflict - a quick workaround is to edit
DEBUG=FALSE. Continue building the library, testing programs, and then run them:
make libIf the tests all pass correctly you should be ready to begin!
make gccWhere the PATH variable has been updated in a csh compatable shell to point to the location where the 3.3 version of gcc has been installed. Now you should be able to cd into that path to find the
setenv PATH '/scratch/merz/Chombo/ChomboVis-4.8.10-and-everything/usr/bin/:'$PATH
chombovisexecutable. You should be able to launch it from any of the devel nodes or hosehead and then load in the sample data sets that are contained in the ChomboVis directory labelled