Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Mon Nov 20, 2017 3:08 pm




Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Author Message
 Post subject: LTRANS under pgf90
PostPosted: Thu Feb 05, 2009 1:08 pm 
Offline

Joined: Sun Jul 06, 2003 9:16 pm
Posts: 10
Location: U National S, Argentina
Hi Elizabeth:

I am trying to set-up the LTRANS package using the Linux pgf90 compiler.
The program compilation have been successful but with several warnings in subroutine
settlement_module.f90:

    $ bash LTRANS_compile_pgf90.sh
    Compiling Modules:
    Gridcell
    Interpolation
    Parameter
    Point_in_Polygon
    Random
    Tension
    Conversion
    Hydrodynamic
    Normal
    Boundary
    Horizontal Turbulence
    Settlement
    PGF90-W-0103-Type conversion of subscript expression for polyspecs (settlement_m odule.f90: 209)
    PGF90-W-0103-Type conversion of subscript expression for polyspecs (settlement_m odule.f90: 212)
    PGF90-W-0103-Type conversion of subscript expression for polyspecs (settlement_m odule.f90: 213)
    PGF90-W-0103-Type conversion of subscript expression for polyspecs (settlement_m odule.f90: 216)
    PGF90-W-0103-Type conversion of subscript expression for maxbdis (settlement_mod ule.f90: 249)
    PGF90-W-0103-Type conversion of subscript expression for polyspecs (settlement_m odule.f90: 255)
    PGF90-W-0103-Type conversion of subscript expression for polyspecs (settlement_m odule.f90: 256)
    PGF90-W-0103-Type conversion of subscript expression for polyspecs (settlement_m odule.f90: 257)
    PGF90-W-0103-Type conversion of subscript expression for polyspecs (settlement_m odule.f90: 258)
    PGF90-W-0103-Type conversion of subscript expression for polyspecs (settlement_m odule.f90: 262)
    PGF90-W-0103-Type conversion of subscript expression for holespecs (settlement_m odule.f90: 294)
    PGF90-W-0103-Type conversion of subscript expression for holespecs (settlement_m odule.f90: 297)
    PGF90-W-0103-Type conversion of subscript expression for holespecs (settlement_m odule.f90: 298)
    PGF90-W-0103-Type conversion of subscript expression for holespecs (settlement_m odule.f90: 301)
    0 inform, 14 warnings, 0 severes, 0 fatal for createpolyspecs
    PGF90-W-0103-Type conversion of subscript expression for maxbdis (settlement_mod ule.f90: 407)
    0 inform, 1 warnings, 0 severes, 0 fatal for psettle
    PGF90-W-0103-Type conversion of subscript expression for maxhdis (settlement_mod ule.f90: 454)
    0 inform, 1 warnings, 0 severes, 0 fatal for hsettle
    Vertical Turbulence
    Behavior

    Compiling LTRANS
    LTRANS.f90:

    Compilation Complete


It seems that something is wrong with variables polyspecs, holespecs and maxhdis. Line 209 for example reads:
Code:
polyspecs(polys(1,1),1) = 1


After running the model with the provided files (*.nc and *.csv) I’ve got:

    ****** LTRANS INITIALIZATION *******
    read in particle locations 500
    Particle n=5 Latitude= 38.11310 Longitude= -76.19567
    Particle n=5 Depth= -35.55000000000000
    Particle n=5 Start Polygon= 101001
    read-in grid information
    create elements
    find adjacent elements
    prepare boundary arrays
    initialize behavior
    read in habitat polygon locations
    Edge i=5 Center Lat= 37.84717778000000 Long=
    -76.19722691000000
    Edge i=5 Edge Lat= 37.92964536000000 Long=
    -76.20447828000000
    PGFIO-F-231/formatted read/unit=2/error on data conversion.
    File name = sample_habitat_holes.csv formatted, sequential access record = 1
    In source file settlement_module.f90, at line number 142


and the execution stops. When the hole sub-module is turn off (holesExist = .FALSE.), the program runs successfully.
I would appreciate your comments on these matters.

Regards,

ELBIO.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group