Hi,
Some errors appeared when I compliled with cvf .I have installed CVF6.6 and CVF 6.6C.I have followed the compilaton steps that MOHID wiki offers.But,to my dissappointed ,I Obtained too many errors,for example, as follows:
--------------------Configuration: mohidwater - Win32 Debug--------------------
D:\\MOHIDSourceCode\\SourceCode_v4.9.1_10October2008\\MohidBase2\\ModuleHorizontalGrid.f90(2062): Could not find the file proj4.mod.
D:\\MOHIDSourceCode\\SourceCode_v4.9.1_10October2008\\MohidBase1\\ModuleFunctions.f90(6934): Could not find the file proj4.mod.
Compiling Fortran...
ModuleSequentialAssimilation.i90
D:\\MOHIDSourceCode\\SourceCode_v4.9.1_10October2008\\MohidWater\\ModuleSequentialAssimilation.f90(83) : Error: Name in only-list does not exist. [COPYWATERLEVEL]
CopyWaterLevel, CopyHorizontalVelocity, &
---------------------------------------^
D:\\MOHIDSourceCode\\SourceCode_v4.9.1_10October2008\\MohidWater\\ModuleSequentialAssimilation.f90(83) : Error: Name in only-list does not exist. [COPYHORIZONTALVELOCITY]
CopyWaterLevel, CopyHorizontalVelocity, &
-------------------------------------------------------^
D:\\MOHIDSourceCode\\SourceCode_v4.9.1_10October2008\\MohidWater\\ModuleSequentialAssimilation.f90(84) : Error: Name in only-list does not exist. [COPYVERTICALVELOCITY]
CopyVerticalVelocity, CopyWaterFluxes, &
---------------------------------------^
D:\\MOHIDSourceCode\\SourceCode_v4.9.1_10October2008\\MohidWater\\ModuleSequentialAssimilation.f90(84) : Error: Name in only-list does not exist. [COPYWATERFLUXES]
CopyVerticalVelocity, CopyWaterFluxes, &
-------------------------------------------------------------^
D:\\MOHIDSourceCode\\SourceCode_v4.9.1_10October2008\\MohidWater\\ModuleSequentialAssimilation.f90(85) : Error: Name in only-list does not exist. [SETWATERLEVEL]
Besides,at the end of the Compilation,errors like follows:
D:\\MOHIDSourceCode\\SourceCode_v4.9.1_10October2008\\MohidWater\\ModuleSequentialAssimilation.f90(1183) : Warning: Fortran 95 requires a LOGICAL data type in this context. [CHECK_HYDRODYNAMIC_PROPERTY]
if (Check_Hydrodynamic_Property(NewProperty%ID%IDNumber)) then
------------^
D:\\MOHIDSourceCode\\SourceCode_v4.9.1_10October2008\\MohidWater\\ModuleSequentialAssimilation.f90(1183) : Error: A logical data type is required in this context. [CHECK_HYDRODYNAMIC_PROPERTY]
if (Check_Hydrodynamic_Property(NewProperty%ID%IDNumber)) then
------------^
D:\\MOHIDSourceCode\\SourceCode_v4.9.1_10October2008\\MohidWater\\ModuleSequentialAssimilation.f90(1195) : Error: This name does not have a type, and must have an explicit type. [CHECK_WATER_PROPERTY]
else if (Check_Water_Property(NewProperty%ID%IDNumber)) then
-----------------^
D:\\MOHIDSourceCode\\SourceCode_v4.9.1_10October2008\\MohidWater\\ModuleSequentialAssimilation.f90(1195) : Warning: Fortran 95 requires a LOGICAL data type in this context. [CHECK_WATER_PROPERTY]
else if (Check_Water_Property(NewProperty%ID%IDNumber)) then
-----------------^
D:\\MOHIDSourceCode\\SourceCode_v4.9.1_10October2008\\MohidWater\\ModuleSequentialAssimilation.f90(1195) : Error: A logical data type is required in this context. [CHECK_WATER_PROPERTY]
else if (Check_Water_Property(NewProperty%ID%IDNumber)) then
can someone help me ?
yours ,huyuebo.
Compilation question
-
- MOHID Developer
- Posts: 553
- Joined: Thu Jan 01, 1970 00:00
- Location: Instituto Superior Técnico - Technical University of Lisbon
- Contact:
-
- MOHID User
- Posts: 22
- Joined: Thu Jan 01, 1970 00:00
Thanks,luis
I removed the ModuleSequentialAssimilation.f90 from the project.I don't know whether it can impact the simulation,but I acquired the case as follows:
--------------------Configuration: mohidwater - Win32 Debug--------------------
Build : warning : failed to (or don't know how to) build 'D:\\MOHIDSourceCode\\mohidwater\\Debug\\ModuleSequentialAssimilation.mod'
Linking...
LINK : warning LNK4098: defaultlib \"libc.lib\" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4049: locally defined symbol \"_H5F_FLAGS\" imported
LINK : warning LNK4049: locally defined symbol \"_H5S_FLAGS\" imported
LINK : warning LNK4049: locally defined symbol \"_PREDEFINED_TYPES\" imported
LINK : warning LNK4049: locally defined symbol \"_H5P_FLAGS\" imported
LINK : warning LNK4049: locally defined symbol \"_H5T_FLAGS\" imported
LINK : warning LNK4049: locally defined symbol \"_H5G_FLAGS\" imported
mohidwater.exe - 0 error(s), 8 warning(s)
I don't know the reasons of the errors ,but I am sure that I observed the steps that MOHID wiki offers.Can I sustain ? Sorry to bother you again.
yours ,huyuebo
I removed the ModuleSequentialAssimilation.f90 from the project.I don't know whether it can impact the simulation,but I acquired the case as follows:
--------------------Configuration: mohidwater - Win32 Debug--------------------
Build : warning : failed to (or don't know how to) build 'D:\\MOHIDSourceCode\\mohidwater\\Debug\\ModuleSequentialAssimilation.mod'
Linking...
LINK : warning LNK4098: defaultlib \"libc.lib\" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4049: locally defined symbol \"_H5F_FLAGS\" imported
LINK : warning LNK4049: locally defined symbol \"_H5S_FLAGS\" imported
LINK : warning LNK4049: locally defined symbol \"_PREDEFINED_TYPES\" imported
LINK : warning LNK4049: locally defined symbol \"_H5P_FLAGS\" imported
LINK : warning LNK4049: locally defined symbol \"_H5T_FLAGS\" imported
LINK : warning LNK4049: locally defined symbol \"_H5G_FLAGS\" imported
mohidwater.exe - 0 error(s), 8 warning(s)
I don't know the reasons of the errors ,but I am sure that I observed the steps that MOHID wiki offers.Can I sustain ? Sorry to bother you again.
yours ,huyuebo
-
- MOHID Developer
- Posts: 553
- Joined: Thu Jan 01, 1970 00:00
- Location: Instituto Superior Técnico - Technical University of Lisbon
- Contact:
-
- MOHID User
- Posts: 22
- Joined: Thu Jan 01, 1970 00:00
Who is online
Users browsing this forum: No registered users and 0 guests