1 / 18

Upgrade to last version of Compaq Visual Fortran

Upgrade to last version of Compaq Visual Fortran. 13-10-04: 6.6c Upgrade patches from 6.5 to 6.6c are in \copernicoFileServersoftwareFortranPatches. Create Mohid_V4.0 workspace. Open the Developer Studio Select File... New Select Workspaces tab Create a blank workspace.

ralphgibson
Télécharger la présentation

Upgrade to last version of Compaq Visual Fortran

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Upgrade to last version of Compaq Visual Fortran • 13-10-04: 6.6c • Upgrade patches from 6.5 to 6.6c are in \\copernico\FileServer\software\FortranPatches

  2. Create Mohid_V4.0 workspace • Open the Developer Studio • Select File... New • Select Workspaces tab • Create a blank workspace

  3. HDF library and modules • Get your HDF5 library (Libs) and modules from Source Safe and place them in the folder named Libs

  4. Create Mohid Water project • Select File...New • Select Projects tab • Create a Fortran Console Application. Name it MohidSurfaceWater.

  5. Mohid Water project settings • Select Project...Settings • Select Fortran tab • Select PreProcessor at the dropdown box • Write the path to the HDF libraries in “INCLUDE and USE” Paths text box • Check “Use FPP” check box 11

  6. Mohid Water project settings • Select Project...Settings • Select Link tab • Select General at the dropdown box • Write kernel32.lib and hdf5.lib at the “Object/library modules” text box

  7. Mohid Water project settings • Select Project...Settings • Select Link tab • Select Input at the dropdown box • Write the path to the HDF libraries “Additional library path” text box

  8. Mohid modules files • Get Mohid files from Source Safe and add them to the project. To add to the project right-click the Source Files folder and select Add Files to Folder

  9. All projects settings (obligatory) • Select Project...Settings • Select Fortran tab • Select Compilation Diagnostics at the dropdown box • Select all check boxes at the list (Argument Mismatch, Data Alignment,...) • Select Fortran95 at the Fortran Standards Checking

  10. All projects settings • Select Tools...Options • Select Tabs tab • Select Fortran at the dropdown box • Select “Insert spaces” radio button

  11. Note • There are several modules that must be deleted from the project • but not from the windows explorer. These files are INCLUDE files, • which means they must be placed in the same folder as the rest of • source code files. • mpif.f90 • GOTMVariables_in.f90 • GOTMVariables_out.f90

  12. Debug, Release or MPI Specifications Project...Settings...Fortran...Preprocessor.... e.g. Para MohidWater D:\Projectos\Mohid_v4\Libs;

  13. Mohid Water MPI project settings • Select Build...Configurations • Add a new Project Configuration named MPI in each project present in the workspace

  14. Mohid Water MPI project settings • After performing all the previous settings • Select Project...Settings • Select Fortran tab • Select PreProcessor in the dropdown box • Write in the Predefined Preprocessor Symbols the keywords :_USE_MPI

  15. Mohid Water MPI project settings • Select Project...Settings • Select Link tab • Select General at the dropdown box • Add mpich.Lib at the “Object/library modules” text box

  16. Mohid Water project MPI settings • Select Project...Settings • Select Link tab • Select Input at the dropdown box • Verify the path to the where the mpich.lib is placed in “Additional library path” text box

  17. [keyword1], [keyword2], ... Mohid Water optional compilation project settings • After performing all the previous settings • Select Project...Settings • Select Fortran tab • Select PreProcessor in the dropdown box • Write in the Predefined Preprocessor Symbols the keywords of modules to exclude from build. _LAGRANGIAN_ => excludes Modules Lagrangian + Jet + Oil _AIR_ => excludes Modules InterfaceWaterAir + Atmosphere _WAVES_ => excludes Module Waves _SEDIMENT => excludes Modules SedimentProperties + Consolidation KEYWORDS

  18. Mohid Water optional compilation project settings • After performing all the previous settings • Select in the project tree Source Files, right-click and select Settings • Select General tabs • Select the modules that you wish to exclude from build • Check the “Exclude file from build” • Press OK

More Related