Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
8f0ba49b
Commit
8f0ba49b
authored
Sep 06, 2010
by
Uwe Schulzweida
Browse files
gribapi.c use dmemory
parent
a6cb5c7a
Changes
2
Hide whitespace changes
Inline
Side-by-side
config/default
View file @
8f0ba49b
...
...
@@ -17,14 +17,14 @@ case "${HOSTNAME}" in
--with-netcdf
=
/opt/local
\
--with-hdf5
=
/opt/local
\
--with-szlib
=
/opt/local
\
CC
=
gcc
CFLAGS
=
"-g -pipe -D_REENTRANT -Wall -W -Wfloat-equal -pedantic -O2"
CC
=
gcc
CFLAGS
=
"-g -pipe -D_REENTRANT -Wall -W -Wfloat-equal -pedantic -O2
-Df2cFortran
"
;;
# ia64-nec-linux
ds
*
)
./configure
--prefix
=
$HOME
/local
\
--with-netcdf
=
/pool/ia64/netcdf/netcdf-3.6.0-p1
\
--with-szlib
=
$HOME
/local
\
CC
=
icc
CFLAGS
=
"-g -O2 -Wall -fno-alias -DMIN_BUF_SIZE=4194304
"
CFINT
=
-Df2cFortran
CC
=
icc
CFLAGS
=
"-g -O2 -Wall -fno-alias -DMIN_BUF_SIZE=4194304
-Df2cFortran
"
;;
# i686-suse-linux
linux
|
laptop
)
...
...
@@ -34,7 +34,7 @@ case "${HOSTNAME}" in
--with-netcdf
=
$HOME
/local
\
--with-hdf5
=
$HOME
/local
\
--with-szlib
=
$HOME
/local
\
CC
=
colorgcc
CFLAGS
=
"-g -O2 -Wall -W -Wfloat-equal -pedantic
"
CFINT
=
-Df2cFortran
CC
=
colorgcc
CFLAGS
=
"-g -O2 -Wall -W -Wfloat-equal -pedantic
-Df2cFortran
"
;;
gata
)
./configure
--prefix
=
$HOME
/local/etch-ia32
\
...
...
@@ -92,8 +92,8 @@ case "${HOSTNAME}" in
--with-netcdf
=
/sw/aix61/netcdf-4.1.1-rc2
\
--with-hdf5
=
/sw/aix61/hdf5-1.8.4-patch1-threadsafe
\
--with-zlib
=
/sw/aix53/zlib-1.2.3
--with-szlib
=
/sw/aix53/szip-2.1
\
AR
=
"ar -X 64"
CFINT
=
-Dextname
\
CC
=
xlc_r
CFLAGS
=
"-g -O3 -q64 -qhot -qarch=auto -qtune=auto -DHAVE_MMAP
"
LDFLAGS
=
"-brtl"
FC
=
xlf_r
AR
=
"ar -X 64"
LDFLAGS
=
"-brtl"
FC
=
xlf_r
\
CC
=
xlc_r
CFLAGS
=
"-g -O3 -q64 -qhot -qarch=auto -qtune=auto -DHAVE_MMAP
-Dextname"
;;
*
)
echo
"configuration for hostname
$HOSTNAME
not found!"
...
...
src/gribapi.c
View file @
8f0ba49b
...
...
@@ -11,6 +11,7 @@
#include "cdi.h"
#include "stream_int.h"
#include "gribapi.h"
#include "dmemory.h"
#define XSTRING(x) #x
#define STRING(x) XSTRING(x)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment