osiris-code / osiris

OSIRIS Particle-In-Cell code
GNU Affero General Public License v3.0
38 stars 6 forks source link

Cannot make Osiris binary #7

Open timothyara opened 5 months ago

timothyara commented 5 months ago

Hello, I'm trying to compile Osiris but I encountering a fatal error along with many Warnings. I installed hdf5, mpi, and the latest version of gfortran and I made sure to enter the appropriate paths to their root directories in the config file. I'm using mac osx so I've been using the osiris_sys.macosx-m1.gnu and edited the paths in that file. The fatal error that I'm getting is the one below:

Fatal Error: Cannot open module file 'hdf5.mod' for reading at (1): No such file or directory compilation terminated. make[1]: [build/os-dutil-hdf5.o] Error 1 make: [all] Error 2

ricardo-fonseca commented 5 months ago

The error you are getting means the compiler cannot find your HDF5 installation, more specifically, the Fortran module. Since you did install HDF5, this usually happens because your hdf5 installation did not include the Fortran interface. To check for this you can just look for the hdf5.mod file in location where you installed HDF5.

Cheers, Ricardo

On 22 Mar 2024, at 21:09, timothyara @.***> wrote:

Hello, I'm trying to compile Osiris but I encountering a fatal error along with many Warnings. I installed hdf5, mpi, and the latest version of gfortran and I made sure to enter the appropriate paths to their root directories in the config file. I'm using mac osx so I've been using the osiris_sys.macosx-m1.gnu and edited the paths in that file. The fatal error that I'm getting is the one below:

Fatal Error: Cannot open module file 'hdf5.mod' for reading at (1): No such file or directory compilation terminated. make[1]: [build/os-dutil-hdf5.o] Error 1 make: [all] Error 2

— Reply to this email directly, view it on GitHubhttps://github.com/osiris-code/osiris/issues/7, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACYD2DPYCDJFPF2Z45LBPT3YZSMYLAVCNFSM6AAAAABFD7UWVGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYDGMZTGQYTEMA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Aviso: Email proveniente de um endereço externo. Não clique em links ou abra anexos, a menos que reconheça o remetente e teor da mensagem. Não forneça o seu nome de utilizador e passwords.

Caution: Email from an external address. Only open attachments and click on links if you trust the sender and know the content. Do not share your username and passwords.