compilation problem VS2008 IF2011 CUDA

Information about Programming in the MOHID Framework
mwesson@awaingenieria.com
MOHID Beginner
Posts: 6
Joined: Thu Jan 01, 1970 00:00
Location: Costa Rica
Contact:

compilation problem VS2008 IF2011 CUDA

Postby mwesson@awaingenieria.com » Mon Mar 10, 2014 16:16

Dear Mohid,

I have been trying to compile the VS2008IF2011 version of MOHIDNumericsWithCuda. I have come around several cuda version issues to the 4.1 version, and the fact that the host is 64bit. But then I get thea list of errors relating with the INCLUDE paths, I am not a Visual Studio Intel Fortran expert and would like some help. Below are some of the compilation errors.

...
7>ModuleMacroAlgae.F90
7>ModuleDrawing.F90
7>ModuleCEQUALW2.F90
7>E:\Mauricio\Modelos Oleaje Corrientes y Calidad de Aguas\MOHID\mohid_net_svn\Software\MOHIDBase1\ModuleCEQUALW2.F90(4386): remark #7712: This variable has not been used. [STRWARNING]
7>ModuleWaterQuality.F90
7>ModuleTimeSerie.F90
7>ModuleDischarges.F90
7>ModuleInterface.F90
7>E:\Mauricio\Modelos Oleaje Corrientes y Calidad de Aguas\MOHID\mohid_net_svn\Software\MOHIDBase1\ModuleInterface.F90(45): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MODULEBENTHICECOLOGY]
7>E:\Mauricio\Modelos Oleaje Corrientes y Calidad de Aguas\MOHID\mohid_net_svn\Software\MOHIDBase1\ModuleInterface.F90(46): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MODULEWWTPQ]
7>E:\Mauricio\Modelos Oleaje Corrientes y Calidad de Aguas\MOHID\mohid_net_svn\Software\MOHIDBase1\ModuleInterface.F90(47): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MODULESEAGRASSSEDIMINTERACTION]
7>E:\Mauricio\Modelos Oleaje Corrientes y Calidad de Aguas\MOHID\mohid_net_svn\Software\MOHIDBase1\ModuleInterface.F90(48): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MODULESEAGRASSWATERINTERACTION]
7>E:\Mauricio\Modelos Oleaje Corrientes y Calidad de Aguas\MOHID\mohid_net_svn\Software\MOHIDBase1\ModuleInterface.F90(49): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MODULEBIVALVE]
7>E:\Mauricio\Modelos Oleaje Corrientes y Calidad de Aguas\MOHID\mohid_net_svn\Software\MOHIDBase1\ModuleInterface.F90(1530): error #6632: Keyword arguments are invalid without an explicit interface. [FILENAME]
....
....
....
...
0>------ Build started: Project: MOHIDWater, Configuration: Release Double CUDA Win32 ------
20>Compiling with Intel(R) Visual Fortran Compiler XE 12.1.1.258 [IA-32]...
20>ModuleGOTM.F90
20>ModuleOil.F90
20>ModuleToga.F90
20>ModuleHydrodynamicFile.F90
20>ModuleWaves.F90
20>E:\Mauricio\Modelos Oleaje Corrientes y Calidad de Aguas\MOHID\mohid_net_svn\Software\MOHIDWater\ModuleWaves.F90(93): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MODULEFILLMATRIX]
20>E:\Mauricio\Modelos Oleaje Corrientes y Calidad de Aguas\MOHID\mohid_net_svn\Software\MOHIDWater\ModuleWaves.F90(93): error #6580: Name in only-list does not exist. [CONSTRUCTFILLMATRIX]
20>E:\Mauricio\Modelos Oleaje Corrientes y Calidad de Aguas\MOHID\mohid_net_svn\Software\MOHIDWater\ModuleWaves.F90(93): error #6580: Name in only-list does not exist. [MODIFYFILLMATRIX]
20>E:\Mauricio\Modelos Oleaje Corrientes y Calidad de Aguas\MOHID\mohid_net_svn\Software\MOHIDWater\ModuleWaves.F90(94): error #6580: Name in only-list does not exist. [GETIFMATRIXREMAINSCONSTANT]
20>E:\Mauricio\Modelos Oleaje Corrientes y Calidad de Aguas\MOHID\mohid_net_svn\Software\MOHIDWater\ModuleWaves.F90(94): error #6580: Name in only-list does not exist. [KILLFILLMATRIX]

davidbrito
MOHID Advanced user
Posts: 187
Joined: Thu Jan 01, 1970 00:00

Re: compilation problem VS2008 IF2011 CUDA

Postby davidbrito » Fri Mar 14, 2014 18:52

Hello Mauricio,



Problems with not finding files is usually related to missing or wrong path in the project settings. In codeplex a lot of configurations exist but not all are well configured and that will change.



Lets start with the most simple.

Can you compile MOHID Water in release version and in 32bit?





With That we check that everything is ok in your configuration and then see what configuration you were trying to compile.





To fix the missing files error you select the configuration you want to compile (release/debug win32/x64) and need to edit the project (Base 1, Base 2 and MOHID Water) in Project -> Properties and then in Fortran -> General -> “Additional Include Libraires” and for MOHID Water only, in Linker -> General -> “Additional Library Directories”. You have to verify that these directories exist and that nothing is missing. Sometimes the paths can be directing to folders that were changed or something is missing.



There are the VS2008 and Intel 11 and VS2010 and Intel 12. But you should be fine with both of them. You have VS2010 so you can open the 2008 solutions it just converts.

The VS2010 solution was just updated try to update it. And test it.



Continue the post here so that all the users can search for it.



Best regards,



David

ghvmof@hotmail.com
MOHID Beginner
Posts: 6
Joined: Sun Sep 25, 2011 21:59

Re: compilation problem VS2008 IF2011 CUDA

Postby ghvmof@hotmail.com » Tue Jun 24, 2014 15:15

Hi Mauricio.

The problem you have is that you have added modules:

MODULEBENTHICECOLOGY
MODULEWWTPQ
MODULESEAGRASSSEDIMINTERACTIO
MODULESEAGRASSWATERINTERACTION
MODULEBIVALVE

Add them manually by right clicking on MohidBase1 "Source File> Add> Existing Item", so the problem will be solved.

Good luck.

attentively

Guido Herrera


Return to “MOHID Programming”

Who is online

Users browsing this forum: No registered users and 1 guest