New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 2782 for trunk/NEMOGCM/EXTERNAL/XMLIO_SERVER/src/IOSERVER/mod_pack.f90 – NEMO

Ignore:
Timestamp:
2011-06-16T09:35:07+02:00 (13 years ago)
Author:
smasson
Message:

bugfix in xmlio_server for some machines..., see ticket#837

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/EXTERNAL/XMLIO_SERVER/src/IOSERVER/mod_pack.f90

    r2767 r2782  
    542542       SELECT CASE(attrib%type) 
    543543         CASE (integer0) 
    544            ALLOCATE(attrib%integer0_ptr) 
     544!!$           ALLOCATE(attrib%integer0_ptr) 
    545545           CALL unpack_data(attrib%integer0_ptr) 
    546546         CASE (integer1) 
     
    551551           CALL unpack_data(attrib%integer2_ptr) 
    552552         CASE (real0) 
    553            ALLOCATE(attrib%real0_ptr) 
     553!!$           ALLOCATE(attrib%real0_ptr) 
    554554           CALL unpack_data(attrib%real0_ptr) 
    555555         CASE (real1) 
     
    559559           ALLOCATE(attrib%real2_ptr(attrib%dim(1),attrib%dim(2))) 
    560560         CASE (logical0) 
    561            ALLOCATE(attrib%logical0_ptr) 
     561!!$           ALLOCATE(attrib%logical0_ptr) 
    562562           CALL unpack_data(attrib%logical0_ptr) 
    563563         CASE (logical1) 
     
    568568           CALL unpack_data(attrib%logical2_ptr) 
    569569         CASE (string0) 
    570            ALLOCATE(attrib%string0_ptr) 
     570!!$           ALLOCATE(attrib%string0_ptr) 
    571571           CALL unpack_string0 
    572572         CASE (string1) 
Note: See TracChangeset for help on using the changeset viewer.