1 / 18

Create Mohid_V4.0 and MohidBase1.lib and MohidBase2.lib as in MohidSurfaceWater

Create Mohid_V4.0 and MohidBase1.lib and MohidBase2.lib as in MohidSurfaceWater. SourceSafeMohid_v4TextsSetupWorkspace: How to set up a MOHID project.ppt. Create Mohid Land project. Select File...New Select Projects tab Create a Fortran Console Application. Name it MohidLand.

Download Presentation

Create Mohid_V4.0 and MohidBase1.lib and MohidBase2.lib as in MohidSurfaceWater

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. Create Mohid_V4.0 and MohidBase1.lib and MohidBase2.lib as in MohidSurfaceWater SourceSafe\Mohid_v4\Texts\SetupWorkspace: How to set up a MOHID project.ppt

  2. Create Mohid Land project • Select File...New • Select Projects tab • Create a Fortran Console Application. Name it MohidLand.

  3. Mohid Land project dependencies • Select Project...Dependencies • Select MohidBase1 and MohidBase2 check boxes

  4. Mohid Land – MohidBase3 settings • Select SourceFiles folder in MohidLand project • Click the mouse’s right button • Select New Folder and name it MohidBase3

  5. Mohid Land – Add files • Add files to the respective folders, by right clicking the mouse.

  6. Mohid Land 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 Land 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. 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

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

  10. MohidLand is a Double Precision Project!! • At the moment, MohidLand needs to be build with Double Precision settings. • If no other projects are included in your workspace you can simply select MohidBase1, MohidBase2 and MohidLand in Project... Settings: • Select Fortran tab • Select Fortran data in dropdown box • Default Real Kind = 8 • If other projects are included in the workspace that don’t need to be built in Double Precision (like MohidSurfaceWater) follow the next slides.

  11. Create MohidBase1 W32 Debug Double configuration • Select Build... Configurations • Add • Name it “Debug Double” and select “Copy settings from MohidBase1 - Win32 Debug”

  12. Create MohidBase2 W32 Debug Double configuration • Select Build... Configurations • Add • Name it “Debug Double” and select “Copy settings from MohidBase2 - Win32 Debug”

  13. Base1 and Base2 W32 Debug Double Settings • Select Project...Settings • Select Win32 Debug Double at the left-upper dropdownbox • Select both MohidBase1 and MohidBase2 projects • Select Fortran tab • Select Fortran Data at the dropdown box • Select Default Real Kind = 8

  14. MohidBase2 W32 Debug Double Settings • Select Project...Settings • Select Win32 Debug Double at the left-upper dropdownbox • Select MohidBase2 project • Select Fortran tab • Select Preprocessor at the dropdown box • Write the path to the MohidBase1.lib in W32 Debug Double configuration. Hint: The path to MohidBase1.lib in W32 Debug Double configuration can be copied from Windows Explorer: ..MohidBase1\MohidBase1___Win32_Debug_Double

  15. MohidLand Settings • Select Project...Settings • Select Win32 Debug at the left-upper dropdownbox • Select MohidLand project • Select Fortran tab • Select Preprocessor at the dropdown box • Write the path to the MohidBase1.lib and MohidBase2.lib in W32 Debug Double configuration. Hint: The path to MohidBase1.lib in W32 Debug Double configuration can be copied from Windows Explorer: ..MohidBase1\MohidBase1___Win32_Debug_Double

  16. Build MohidBase1 – Win32 Debug Double • Select Project ... Set Active Project ... MohidBase1 • Select Win32 Debug Double Configuration from the Dropdown box. • Select Build... Build MohidBase1.lib

  17. Build MohidBase2 – Win32 Debug Double • Select Project ... Set Active Project ... MohidBase2 • Select Win32 Debug Double Configuration from the Dropdown box. • Select Build... Build MohidBase2.lib

  18. Build MohidLand • Select Project ... Set Active Project ... MohidLand • Select Win32 Debug Configuration from the Dropdown box. • Select Build... Build MohidLand.exe

More Related