Steven G. Johnson wrote:
> The problem is that you included the "-I" directives (which tell the
> preprocessor where to find header files) in the CFLAGS and CXXFLAGS,
> whereas (as explained in the manual) you are supposed to put them in
> CPPFLAGS (only).
Yep, that works thanks. But 'make check' dies at:
mpirun -np 2 ./h5test.dac
..
Checking check_2d_tm_identity_0_plane_eps_r...
MPI_FILE_SET_SIZE (line 73): **notsame
[hn3:30802] *** Process received signal ***
[hn3:30802] Signal: Segmentation fault (11)
[hn3:30802] Signal code: (128)
[hn3:30802] Failing at address: (nil)
[hn3:30802] [ 0] /lib64/libpthread.so.0 [0x3b7a80de60]
[hn3:30802] [ 1] /lib64/libc.so.6(fwrite+0x4a) [0x3b79c5fb0a]
[hn3:30802] [ 2] ./h5test.dac [0x53299b]
[hn3:30802] [ 3] ./h5test.dac(H5E_walk+0x1e2) [0x53269e]
Guess that means I need to rebuild hdf5? Even when I did that
with '--disable-mpi-size' .. I got the same error. Hmm. :(
> (Also, I notice that you include -pthread in the CPPFLAGS, ..
That comes from OpenMPI:
mpiCC --showme
g++ -I/opt/sw/openmpi-1.2.4/include -pthread -L/opt/sw/openmpi-1.2.4/lib
-lmpi_cxx -lmpi -lopen-rte -lopen-pal -ldl -Wl,--export-dynamic -lnsl
-lutil -lm -ldl
> .. FFTW can optionally be used within Meep ..
OK .. and if one does elect to use it .. is fftw/3.1.2 the right one to use?
--
Graham Jenkins
Senior Software Specialist, eResearch
Monash University (Clayton Campus, Bldg 11, Rm S503)
Email: [EMAIL PROTECTED]
Tel: +613 9905-5942 (office) +614 4850-2491 (mobile)
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss