I never saw a follow-up on this thread, but I was able to build Meep
on Argonne's BlueGene/P machine relatively easily.  Building GSL was
trivial and I skipped LIBCTL because I did not want to build Guile.

So far half of the tests ran fine (I didn't verify the output since I
have to run the jobs manually, rather than through "make check") and
most of the rest die for obvious reasons (cannot divide 10 into 64
nodes).  Only two tests fail for not-so-obvious reasons, but they may
become obvious once I started reading the source.

h5test fails with
meep: Error in check_2d_tm_identity_0_plane_hy at (0,0,0)

symmetry fails with
meep: error in exact_pml_rot2x_tm vacuum

In case it's not clear, I am not submitting a question or bug report,
just a bunch of information that others may find useful, based upon
the list archive.

Best,

Jeff

this is how I built GSL
=======================================
./configure CC=bgxlc_r --prefix=/gpfs/home/jhammond/MEEP
--host=powerpc-bgp-linux --enable-static --disable-shared
=======================================

this script configure Meep on BGP, assuming you have the appropriate
/soft/apps installation
=======================================
#!/bin/tcsh

setenv ESSL_LIB "-L/soft/apps/ESSL-4.4.1-0/lib -lesslbg"

setenv GSL_LIB "-L/gpfs/home/jhammond/MEEP/lib -lgsl -lgslcblas"
setenv GSL_INC "-I/gpfs/home/jhammond/MEEP/include"

setenv FFTW_LIB "-L/soft/apps/fftw-3.1.2-double/lib -lfftw3"
setenv FFTW_INC "-I/soft/apps/fftw-3.1.2-double/include"

setenv HDF5_LIB "-L/soft/apps/hdf5-1.6.6/lib -lhdf5
-L/soft/apps/zlib-1.2.3/lib -lz"
setenv HDF5_INC "-I/soft/apps/hdf5-1.6.6/include
-I/soft/apps/zlib-1.2.3/include"

./configure \
CPPFLAGS="$HDF5_INC $FFTW_INC $GSL_INC" \
LIBS="$HDF5_LIB $FFTW_LIB $GSL_LIB $ESSL_LIB" \
CC=mpixlc_r \
CXX=mpixlcxx_r \
F77=mpixlf77_r \
MPICXX=mpixlcxx_r \
--prefix=/gpfs/home/jhammond/MEEP \
--with-mpi \
--with-gcc-arch=powerpc-bgp-linux \
--host=powerpc-bgp-linux \
--without-libctl
=======================================

-- 
Jeff Hammond
Argonne Leadership Computing Facility
[email protected] / (630) 252-5381
http://www.linkedin.com/in/jeffhammond

_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to