Hi,
I'm building a software called PFLOTRAN , it's irrelevant right now what it
does,
but I get the error during 'make' :
"Fatal Error: Cannot read module file 'hdf5.mod' opened at (1),
because it was created by a different version of GNU Fortran" .
I'm working with Linux CentOS 6.4 , with gcc/gfortran 4.8.1 , and has
obtained the latest hdf5 source.
my config command is :
./configure --prefix=/usr/local/hdf --enable-parallel --enable-fortran
--enable-fortran2003
I've built hdf5 using the same gcc/gfortran as I've built my program
(PFLOTRAN),
so I don't understand where the error stems from.
I know hdf5 doesn't officially support gcc 4.8.1 yet , but I thought it
would work,
since this is the compiler I already had , and it's a pain to build an
older version of gcc
on CentOS.
When building hdf5 , I've noticed some errors in the "make check" step,
so I've attached a .log file , I don't know if it's related but it might be
another problem.
Any suggestions??
Thank you very much
Chen
makecheck2.log (32.8 KB)
Do you by any chance have another version of HDF5 installed on your system? Was mpi built with the same fortran compiler? How do you set compilers for building parallel HDF5?
There is definitely a mismatch somewhere, but it is hard to analyze the error based on information you provided.
Elena
···
Sent from my iPhone
On Jun 16, 2013, at 11:12 AM, Chen Shapira <chen2600@gmail.com> wrote:
Hi,
I'm building a software called PFLOTRAN , it's irrelevant right now what it does,
but I get the error during 'make' :
"Fatal Error: Cannot read module file 'hdf5.mod' opened at (1),
because it was created by a different version of GNU Fortran" .
I'm working with Linux CentOS 6.4 , with gcc/gfortran 4.8.1 , and has obtained the latest hdf5 source.
my config command is :
./configure --prefix=/usr/local/hdf --enable-parallel --enable-fortran --enable-fortran2003
I've built hdf5 using the same gcc/gfortran as I've built my program (PFLOTRAN),
so I don't understand where the error stems from.
I know hdf5 doesn't officially support gcc 4.8.1 yet , but I thought it would work,
since this is the compiler I already had , and it's a pain to build an older version of gcc
on CentOS.
When building hdf5 , I've noticed some errors in the "make check" step,
so I've attached a .log file , I don't know if it's related but it might be another problem.
Any suggestions??
Thank you very much
Chen
<makecheck2.log>
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
And yes, log file indicates another problem
···
Sent from my iPhone
On Jun 16, 2013, at 11:12 AM, Chen Shapira <chen2600@gmail.com> wrote:
Hi,
I'm building a software called PFLOTRAN , it's irrelevant right now what it does,
but I get the error during 'make' :
"Fatal Error: Cannot read module file 'hdf5.mod' opened at (1),
because it was created by a different version of GNU Fortran" .
I'm working with Linux CentOS 6.4 , with gcc/gfortran 4.8.1 , and has obtained the latest hdf5 source.
my config command is :
./configure --prefix=/usr/local/hdf --enable-parallel --enable-fortran --enable-fortran2003
I've built hdf5 using the same gcc/gfortran as I've built my program (PFLOTRAN),
so I don't understand where the error stems from.
I know hdf5 doesn't officially support gcc 4.8.1 yet , but I thought it would work,
since this is the compiler I already had , and it's a pain to build an older version of gcc
on CentOS.
When building hdf5 , I've noticed some errors in the "make check" step,
so I've attached a .log file , I don't know if it's related but it might be another problem.
Any suggestions??
Thank you very much
Chen
<makecheck2.log>
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org