CC=/GNU/GCC/4.7.3/bin/gcc \
CFLAGS="-march=corei7" \
CXX=/GNU/GCC/4.7.3/bin/g++ \
CXXFLAGS="-march=corei7" \
FC=/GNU/GCC/4.7.3/bin/gfortran \
FCFLAGS="-march=corei7" \
./configure \
--prefix=/WRF/HDF5 \
--disable-shared --enable-fortran --enable-fortran2003 --enable-cxx \
--enable-production
=== End HDF5 ===
===NETCDF 4.3===
CC=mpicc CFLAGS="-march=corei7" \
CPPFLAGS=-I/WRF/HDF5/include \
LDFLAGS=-L/WRF/HDF5/lib \
./configure \
--prefix=/WRF/NETCDF-4 \
--disable-shared --disable-dap
===End NETCDF 4.3===
===NETCDF 4.2 for fortran===
CC=mpicc CFLAGS="-march=corei7" \
FC=mpif90 FCLAGS="-march=corei7" \
F77=mpif90 FFLAGS="-march=corei7 -std=legacy -ffixed-form" \
CPPFLAGS="-I/WRF/HDF5/include -I/WRF/NETCDF-4/include -DgFortran" \
LDFLAGS="-L/WRF/HDF5/lib -L/WRF/NETCDF-4 -lnetcdf" \
./configure \
--prefix=/WRF/NETCDF-4 \
--disable-shared
===End NETCDF 4.2 for fortran===
===NETCDF 4.2 for C++===
CC=mpicc CFLAGS="-march=corei7" \
CXX=mpiCC CXXFLAGS="-march=corei7" \
FC=mpif90 FCLAGS="-march=corei7" \
F77=mpif90 FFLAGS="-march=corei7 -std=legacy -ffixed-form" \
CPPFLAGS="-I/WRF/HDF5/include -IWRF/NETCDF-4/include -DgFortran" \
LDFLAGS="-L/WRF/HDF5/lib -L/WRF/NETCDF-4 -lnetcdf" \
./configure \
--prefix=/WRF/NETCDF-4 \
--disable-shared
===End NETCDF 4.2 for C++===
0 件のコメント:
コメントを投稿