-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathppdef.h
56 lines (35 loc) · 1.07 KB
/
ppdef.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
! fortran unit of error messages
#define stderr 0
! fortran unit of screen output
#define stdout 6
! initfile global pattern matching (c function gmatch in library -lgmatch -lgen )
!#define GMATCH
#define procnum 1
#define ALLOCATE_LOCAL_VARS
#define HAS_GETPID
! the exit subroutine is not conform with the Fortran 95 standard
! but it is very usefull for shell scripts
#define ERROR_STOP call exit(1)
! if strict Fortran 95 standard is required use, ERROR_STOP should be
! defined as
!#define ERROR_STOP stop
! uncomment this line for MISP compiler
! For g95, pgf90 and ifort flush can be called without a status variable
#define flush(unit,stat) FLUSH(unit)
! quick and dirty hack for double precision. FIX ME
#ifdef DOUBLE_PRECISION
# define ssaupd dsaupd
# define sseupd dseupd
# define snrm2 dnrm2
# define saxpy daxpy
# define sscal dscal
# define scopy dcopy
# define sgemv dgemv
#endif
! enable NetCDF input and output
#define NETCDF
! enable diagnostics
!#define DIAG_CROSSVAL
!filter B by diffusion
#define B_DIFF
!#define ALL_POINTS_CROSS_VALIDATION