LTRANS under pgf90

Information about ongoing ROMS/TOMS applications

Moderators: arango, robertson

Post Reply
Message
Author
elbio
Posts: 10
Joined: Sun Jul 06, 2003 9:16 pm
Location: U National S, Argentina

LTRANS under pgf90

#1 Post by elbio » Thu Feb 05, 2009 1:08 pm

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: Select all

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.

Post Reply