Hello,
I am trying to compiling MOHID, folloing the instruction from wiki, but i am not obtainig success. I think that my error is on the HDF Libraries. I am using the files from the folder:
...\\SourceCode_v4.9_25June2007\\HDF_1_6_5\\SingleThread
But on this folder doesn't have the files hdf5_hl.lib and the hfd5_fortran.lib
On the wiki indicates another folder (..\\Libs). But I am not finding this folder (and files)
Someone could send to me the files. Or tell me where is this folder.
Thanks,
Renan
HDF Library
-
- MOHID User
- Posts: 26
- Joined: Thu Jan 01, 1970 00:00
- Location: Universidade Santa Cecília - Santos, Brazil
-
- Site Admin
- Posts: 349
- Joined: Thu Jan 01, 1970 00:00
- Location: Instituto Superior Tecnico - Lisbon - Portugal
- Contact:
-
- MOHID User
- Posts: 26
- Joined: Thu Jan 01, 1970 00:00
- Location: Universidade Santa Cecília - Santos, Brazil
-
- Site Admin
- Posts: 349
- Joined: Thu Jan 01, 1970 00:00
- Location: Instituto Superior Tecnico - Lisbon - Portugal
- Contact:
Hi Renan,
You should follow these instructions from this MOHID wiki article:
http://www.mohid.com/wiki/index.php?title=Compiling_with_CVF
I've sent you by e-mail the compiled HDF5 libs and mods for the Compaq compiler. In the current MOHID installation we're just redistributing compiled libs for the Intel compiler.
Best regards,
Luis
You should follow these instructions from this MOHID wiki article:
http://www.mohid.com/wiki/index.php?title=Compiling_with_CVF
I've sent you by e-mail the compiled HDF5 libs and mods for the Compaq compiler. In the current MOHID installation we're just redistributing compiled libs for the Intel compiler.
Best regards,
Luis
-
- MOHID User
- Posts: 26
- Joined: Thu Jan 01, 1970 00:00
- Location: Universidade Santa Cecília - Santos, Brazil
Hello Luis,
Thanks for the help. I recieved the libs.
But I am still with problems in the compilation. I follow exactly the instructions from wiki. These are some of my error mesage:
ModuleFunctions.i90
E:\\Fortran\\Compilação MOHID\\SourceCode_v4.9_25June2007\\MohidBase1\\ModuleFunctions.f90(5666) : Warning: A delimiter is missing or invalid. Any of the following delimiters are valid: , $ / : ) or end-of-format list. [ES]
write(*, '(\" - Residual : \" ES12.5)') resn
--------------------------------------------^
E:\\Fortran\\Compilação MOHID\\SourceCode_v4.9_25June2007\\MohidBase1\\ModuleFunctions.f90(5670) : Warning: A delimiter is missing or invalid. Any of the following delimiters are valid: , $ / : ) or end-of-format list. [ES]
write(*, '(\" - NH MODEL - Global Residual : \" ES12.5)') global_residual
------------------------------------------------------^
E:\\Fortran\\Compilação MOHID\\SourceCode_v4.9_25June2007\\MohidBase1\\ModuleFunctions.f90(5671) : Warning: A delimiter is missing or invalid. Any of the following delimiters are valid: , $ / : ) or end-of-format list.
write(*, '(\" - NH MODEL - Number of iterations : \" I8)') global_n - (KU - KL + 1)
-----------------------------------------------------------^
ModuleDischarges.i90
ModuleDrainageNetwork.i90
E:\\Fortran\\Compilação MOHID\\SourceCode_v4.9_25June2007\\MohidBase1\\ModuleDrainageNetwork.f90(127) : Error: Error in opening the Library module file. [MODULEHDF5]
use ModuleHDF5
--------^
E:\\Fortran\\Compilação MOHID\\SourceCode_v4.9_25June2007\\MohidBase1\\ModuleDrainageNetwork.f90(4228) : Error: Keyword arguments are invalid without an explicit interface. [HDF5_CREATE]
call GetHDF5FileAccess (HDF5_CREATE = HDF5_CREATE)
---------------------------------^
E:\\Fortran\\Compilação MOHID\\SourceCode_v4.9_25June2007\\MohidBase1\\ModuleDrainageNetwork.f90(4231) : Error: Keyword arguments are invalid without an explicit interface. [STAT]
call ConstructHDF5 (Me%ObjHDF5, trim(Me%Files%HDFFile)//\"5\", HDF5_CREATE, STAT = STAT_CALL)
---------------------------------------------------------------------------------------^
E:\\Fortran\\Compilação MOHID\\SourceCode_v4.9_25June2007\\MohidBase1\\ModuleDrainageNetwork.f90(9010) : Error: Keyword arguments are invalid without an explicit interface. [STAT]
call HDF5SetLimits (Me%ObjHDF5, 1, 6, STAT = STAT_CALL)
---------------------------------------------------^
E:\\Fortran\\Compilação MOHID\\SourceCode_v4.9_25June2007\\MohidBase1\\ModuleDrainageNetwork.f90(9015) : Error: Keyword arguments are invalid without an explicit interface. [ARRAY1D]
Array1D = TimePointer, &
---------------------------------^
Its about 891 erros and the program don´t build the [i]exe.
I send you by email the complete errors mesages
Thanks again,
Renan
Thanks for the help. I recieved the libs.
But I am still with problems in the compilation. I follow exactly the instructions from wiki. These are some of my error mesage:
ModuleFunctions.i90
E:\\Fortran\\Compilação MOHID\\SourceCode_v4.9_25June2007\\MohidBase1\\ModuleFunctions.f90(5666) : Warning: A delimiter is missing or invalid. Any of the following delimiters are valid: , $ / : ) or end-of-format list. [ES]
write(*, '(\" - Residual : \" ES12.5)') resn
--------------------------------------------^
E:\\Fortran\\Compilação MOHID\\SourceCode_v4.9_25June2007\\MohidBase1\\ModuleFunctions.f90(5670) : Warning: A delimiter is missing or invalid. Any of the following delimiters are valid: , $ / : ) or end-of-format list. [ES]
write(*, '(\" - NH MODEL - Global Residual : \" ES12.5)') global_residual
------------------------------------------------------^
E:\\Fortran\\Compilação MOHID\\SourceCode_v4.9_25June2007\\MohidBase1\\ModuleFunctions.f90(5671) : Warning: A delimiter is missing or invalid. Any of the following delimiters are valid: , $ / : ) or end-of-format list.
write(*, '(\" - NH MODEL - Number of iterations : \" I8)') global_n - (KU - KL + 1)
-----------------------------------------------------------^
ModuleDischarges.i90
ModuleDrainageNetwork.i90
E:\\Fortran\\Compilação MOHID\\SourceCode_v4.9_25June2007\\MohidBase1\\ModuleDrainageNetwork.f90(127) : Error: Error in opening the Library module file. [MODULEHDF5]
use ModuleHDF5
--------^
E:\\Fortran\\Compilação MOHID\\SourceCode_v4.9_25June2007\\MohidBase1\\ModuleDrainageNetwork.f90(4228) : Error: Keyword arguments are invalid without an explicit interface. [HDF5_CREATE]
call GetHDF5FileAccess (HDF5_CREATE = HDF5_CREATE)
---------------------------------^
E:\\Fortran\\Compilação MOHID\\SourceCode_v4.9_25June2007\\MohidBase1\\ModuleDrainageNetwork.f90(4231) : Error: Keyword arguments are invalid without an explicit interface. [STAT]
call ConstructHDF5 (Me%ObjHDF5, trim(Me%Files%HDFFile)//\"5\", HDF5_CREATE, STAT = STAT_CALL)
---------------------------------------------------------------------------------------^
E:\\Fortran\\Compilação MOHID\\SourceCode_v4.9_25June2007\\MohidBase1\\ModuleDrainageNetwork.f90(9010) : Error: Keyword arguments are invalid without an explicit interface. [STAT]
call HDF5SetLimits (Me%ObjHDF5, 1, 6, STAT = STAT_CALL)
---------------------------------------------------^
E:\\Fortran\\Compilação MOHID\\SourceCode_v4.9_25June2007\\MohidBase1\\ModuleDrainageNetwork.f90(9015) : Error: Keyword arguments are invalid without an explicit interface. [ARRAY1D]
Array1D = TimePointer, &
---------------------------------^
Its about 891 erros and the program don´t build the [i]exe.
I send you by email the complete errors mesages
Thanks again,
Renan
-
- Site Admin
- Posts: 349
- Joined: Thu Jan 01, 1970 00:00
- Location: Instituto Superior Tecnico - Lisbon - Portugal
- Contact:
-
- MOHID User
- Posts: 26
- Joined: Thu Jan 01, 1970 00:00
- Location: Universidade Santa Cecília - Santos, Brazil
Luis,
I was using the version 6.6, (without the c). I don't know what was the problem.
Now I got the Intel Fortran Compiler 10.1 and I build MohidWater.exe with success, following the wiki instructions. I made a model run only with hydrodinamic and it was OK
.
Now, like i said, I would like to try to compile a exe to convert NetCDF (from NECP/NCAR) to HDF5. Could you help me?
But I don't have much experince...
Do you have the source files from ERA40toHDF5 Tool? Maybe it's a start.
Thanks,
Renan
I was using the version 6.6, (without the c). I don't know what was the problem.
Now I got the Intel Fortran Compiler 10.1 and I build MohidWater.exe with success, following the wiki instructions. I made a model run only with hydrodinamic and it was OK

Now, like i said, I would like to try to compile a exe to convert NetCDF (from NECP/NCAR) to HDF5. Could you help me?
But I don't have much experince...
Do you have the source files from ERA40toHDF5 Tool? Maybe it's a start.
Thanks,
Renan
-
- Site Admin
- Posts: 349
- Joined: Thu Jan 01, 1970 00:00
- Location: Instituto Superior Tecnico - Lisbon - Portugal
- Contact:
Who is online
Users browsing this forum: No registered users and 1 guest