WAVEWATCH III  beta 0.0.1
yowdatapool.F90
Go to the documentation of this file.
1 !PDLIB Software License
2 !
3 !Software, as understood herein, shall be broadly interpreted as being inclusive of algorithms,
4 !source code, object code, data bases and related documentation, all of which shall be furnished
5 !free of charge to the Licensee. Corrections, upgrades or enhancements may be furnished and, if
6 !furnished, shall also be furnished to the Licensee without charge. NOAA, however, is not
7 !required to develop or furnish such corrections, upgrades or enhancements.
8 !Roland & Partner software, whether that initially furnished or corrections or upgrades,
9 !are furnished "as is". Roland & Partner furnishes its software without any warranty
10 !whatsoever and is not responsible for any direct, indirect or consequential damages
11 !that may be incurred by the Licensee. Warranties of merchantability, fitness for any
12 !particular purpose, title, and non-infringement, are specifically negated.
13 !The Licensee is not required to develop any software related to the licensed software.
14 !However, in the event that the Licensee does so, the Licensee is required to offer same
15 !to Roland & Partner for inclusion under the instant licensing terms with Roland & Partner
16 !licensed software along with documentation regarding its principles, use and its advantages.
17 !This includes changes to the wave model proper including numerical and physical approaches
18 !to wave modeling, and boundary layer parameterizations embedded in the wave model
19 !A Licensee may reproduce sufficient software to satisfy its needs.
20 !All copies shall bear the name of the software with any version number
21 !as well as replicas of any applied copyright notice, trademark notice,
22 !other notices and credit lines. Additionally, if the copies have been modified,
23 !e.g. with deletions or additions, this shall be so stated and identified.
24 !All of Licensee's employees who have a need to use the software may have access
25 !to the software but only after reading the instant license and stating, in writing,
26 !that they have read and understood the license and have agreed to its terms.
27 !Licensee is responsible for employing reasonable efforts to assure
28 !that only those of its employees that should have access to the software, in fact, have access.
29 !The Licensee may use the software for any purpose relating to sea state prediction.
30 !No disclosure of any portion of the software, whether by means of a media or verbally,
31 !may be made to any third party by the Licensee or the Licensee's employees
32 !The Licensee is responsible for compliance with any applicable export or
33 !import control laws of the United States, the European Union and Germany.
34 !
35 !© 2009 Roland&Partner, Georgenstr.32, 64297 Germany. All rights reserved.
36 !PDLIB is a trademark of Roland & Partner. No unauthorized use without permission.
37 !
40  use mpi, only: mpi_comm_world, mpi_integer, mpi_real4, mpi_real8, mpi_status_size
41  implicit none
42  !#ifdef USE_SINGLE
43  ! !> single precision. Enable with compiler flag -DUSE_SINGLE
44  ! integer,parameter :: rkind = 4
45  !#else
47  integer,parameter :: rkind = 4
48  !#endif
49  logical, parameter :: debugprepartition = .false.
50  logical, parameter :: debugpostpartition = .false.
51  logical, parameter :: debugparmetis = .false.
55  logical, parameter :: debugpartition = .false.
56 
58  integer, save :: ntasks = 0
59 
62  integer, save :: myrank = 0
63 
66  integer,public,save :: comm
67 
70  integer,save :: itype = mpi_integer
71 
74  integer :: istatus(mpi_status_size)
75  !#ifdef USE_SINGLE
76  integer, save :: rtype = mpi_real4
77  !#else
78  ! integer, save :: rtype = MPI_REAL8
79  !#endif
80 
81 end module yowdatapool
yowdatapool::rkind
integer, parameter rkind
double precision.
Definition: yowdatapool.F90:47
yowdatapool::myrank
integer, save myrank
The thread id.
Definition: yowdatapool.F90:62
yowdatapool::debugparmetis
logical, parameter debugparmetis
Definition: yowdatapool.F90:51
yowdatapool::debugprepartition
logical, parameter debugprepartition
Definition: yowdatapool.F90:49
yowdatapool::rtype
integer, save rtype
Definition: yowdatapool.F90:76
yowdatapool::istatus
integer, dimension(mpi_status_size) istatus
MPI Real Type Shpuld be MPI_REAL8.
Definition: yowdatapool.F90:74
yowdatapool
Has fancy data.
Definition: yowdatapool.F90:39
yowdatapool::debugpartition
logical, parameter debugpartition
write partition information into file fort.600.
Definition: yowdatapool.F90:55
yowdatapool::comm
integer, save, public comm
MPI Communicator.
Definition: yowdatapool.F90:66
yowdatapool::debugpostpartition
logical, parameter debugpostpartition
Definition: yowdatapool.F90:50
yowdatapool::itype
integer, save itype
MPI Integer Type.
Definition: yowdatapool.F90:70
yowdatapool::ntasks
integer, save ntasks
Number of threads.
Definition: yowdatapool.F90:58