installation issue

57 views
Skip to first unread message

Sajjadul Islam

unread,
Feb 19, 2014, 7:49:34 PM2/19/14
to field...@googlegroups.com
Hi 

I have the following error while installing :

/////////////////////////////////////////////////////////////////////////////////

[  5%] Building CXX object CMakeFiles/Field3D.dir/src/ClassFactory.cpp.o
In file included from /usr/include/hdf5.h:24:0,
                 from /home/sajjad/Downloads/Field3D/Field3D-master/export/Traits.h:51,
                 from /home/sajjad/Downloads/Field3D/Field3D-master/export/Field.h:55,
                 from /home/sajjad/Downloads/Field3D/Field3D-master/export/ClassFactory.h:50,
                 from /home/sajjad/Downloads/Field3D/Field3D-master/src/ClassFactory.cpp:44:
/usr/include/H5public.h:57:20: fatal error: mpi.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/Field3D.dir/src/ClassFactory.cpp.o] Error 1
make[1]: *** [CMakeFiles/Field3D.dir/all] Error 2
make: *** [all] Error 2



////////////////////////////////////////////////////////////////////////////////


I have all the pre-requisites installed . Any hint to get around this problem ?


Thanks 

Magnus Wrenninge

unread,
Feb 20, 2014, 1:58:20 PM2/20/14
to field...@googlegroups.com
HDF5 should only incluse mpi.h if H5_HAVE_PARALLEL is set. Can you disable that flag?

Magnus


--
You received this message because you are subscribed to the Google Groups "Field3D dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to field3d-dev...@googlegroups.com.
To post to this group, send email to field...@googlegroups.com.
Visit this group at http://groups.google.com/group/field3d-dev.
For more options, visit https://groups.google.com/groups/opt_out.

Sajjadul Islam

unread,
Feb 21, 2014, 12:59:37 AM2/21/14
to field...@googlegroups.com
Hi ,

I am sure if you meant HDF5_IF_PARALLEL , i disabled it from (ccmake ..) and i am still getting the following error:


////////////////////////////////////////////////////////////
sajjad@sajjad-G74Sx:~/Downloads/Field3D/Field3D-master/build$ make clean && makeScanning dependencies of target Field3D
[  5%] Building CXX object CMakeFiles/Field3D.dir/src/ClassFactory.cpp.o
In file included from /usr/include/hdf5.h:24:0,
                 from /home/sajjad/Downloads/Field3D/Field3D-master/export/Traits.h:51,
                 from /home/sajjad/Downloads/Field3D/Field3D-master/export/Field.h:55,
                 from /home/sajjad/Downloads/Field3D/Field3D-master/export/ClassFactory.h:50,
                 from /home/sajjad/Downloads/Field3D/Field3D-master/src/ClassFactory.cpp:44:
/usr/include/H5public.h:57:20: fatal error: mpi.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/Field3D.dir/src/ClassFactory.cpp.o] Error 1
make[1]: *** [CMakeFiles/Field3D.dir/all] Error 2
make: *** [all] Error 2


////////////////////////////////////////////////////////////


Where else should i look into ?


Thanks

Magnus Wrenninge

unread,
Feb 21, 2014, 2:41:44 PM2/21/14
to field...@googlegroups.com
It sounds like it's not being disabled properly. If you look at H5public.h, the only way it includes mpi.h is if H5_HAVE_PARALLEL is set, so it must be getting enabled somehow in your build.

Have you tried the SCons setup?

Magnus

Sajjadul Islam

unread,
Mar 2, 2014, 5:27:23 AM3/2/14
to field...@googlegroups.com
Hi 

what should be the command line to disable it. I have tried with "scons" and i got some similar error while running with cmake.


Thanks
Reply all
Reply to author
Forward
0 new messages