Difference between revisions of "CHOMBO"

From SourceWiki
Jump to navigation Jump to search
Line 4: Line 4:
  
 
=Installation=
 
=Installation=
dylan (x86_64)
+
* dylan (x86_64)
FC=gfortran
+
* FC=gfortran
CXX=g++
+
* CXX=g++
 +
 
 
==HDF5 v1.4.4==
 
==HDF5 v1.4.4==
from:  
+
from:
 +
<pre>
 
./configure --prefix=/gsb6/ggdagw/hdf5/hdf5-1.4.4/serial --enable-production
 
./configure --prefix=/gsb6/ggdagw/hdf5/hdf5-1.4.4/serial --enable-production
 
+
</pre>
 
upload tar.gz?
 
upload tar.gz?
  
 
==MPICH v1.2.5==
 
==MPICH v1.2.5==
from: ftp://ftp.mcs.anl.gov/pub/mpi/old
+
from:
 +
<pre>
 +
ftp://ftp.mcs.anl.gov/pub/mpi/old
 +
</pre>
 
treating dylan as an SMP machine:
 
treating dylan as an SMP machine:
 +
<pre>
 
./configure --prefix=/gsb6/ggdagw/mpich/mpich-1.2.5/ch_shmem --with-device=ch_shmem
 
./configure --prefix=/gsb6/ggdagw/mpich/mpich-1.2.5/ch_shmem --with-device=ch_shmem
test with hello_world: OK, but mpif77 (or 90) was not created during build.
+
</pre>
 +
* test with hello_world: OK, but mpif77 (or 90) was not created during build.
 
let's try ch_p4 also..
 
let's try ch_p4 also..
 +
<pre>
 
./configure --prefix=/gsb6/ggdagw/mpich/mpich-1.2.5/ch_p4 --with-device=ch_p4
 
./configure --prefix=/gsb6/ggdagw/mpich/mpich-1.2.5/ch_p4 --with-device=ch_p4
hello world does not work--perhaps need to start a daemon?  Go with shmem for the moment.
+
</pre>
 +
* hello world does not work--perhaps need to start a daemon?  Go with shmem for the moment.
  
 
==CHOMBO==
 
==CHOMBO==

Revision as of 15:50, 21 October 2008

CHOMBO

Introduction

Installation

  • dylan (x86_64)
  • FC=gfortran
  • CXX=g++

HDF5 v1.4.4

from:

 
./configure --prefix=/gsb6/ggdagw/hdf5/hdf5-1.4.4/serial --enable-production

upload tar.gz?

MPICH v1.2.5

from:

ftp://ftp.mcs.anl.gov/pub/mpi/old

treating dylan as an SMP machine:

./configure --prefix=/gsb6/ggdagw/mpich/mpich-1.2.5/ch_shmem --with-device=ch_shmem
  • test with hello_world: OK, but mpif77 (or 90) was not created during build.

let's try ch_p4 also..

./configure --prefix=/gsb6/ggdagw/mpich/mpich-1.2.5/ch_p4 --with-device=ch_p4
  • hello world does not work--perhaps need to start a daemon? Go with shmem for the moment.

CHOMBO

Oct07 release

Without HDF5

Chombo-2.0/lib/mk/Make.defs.local

DIM           = 2
DEBUG         = TRUE
OPT           = TRUE
PRECISION     = DOUBLE
PROFILE       = FALSE
CXX           = g++
FC            = gfortran
MPI           = FALSE
USE_HDF       = FALSE

make lib make test make run Looks like the tests pass

With HDF5 compiled in serial mode

With MPI and parallel HDF5