- Timestamp:
- 02/11/14 13:29:57 (11 years ago)
- Location:
- XIOS/trunk
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/arch/arch-GCC_LINUX.path
r440 r475 11 11 HDF5_LIB="-lhdf5_hl -lhdf5 -lhdf5 -lz" 12 12 13 OASIS_INCDIR="-I$PWD/../../ prism/X64/build/lib/psmile.MPI1"14 OASIS_LIBDIR="-L$PWD/../../ prism/X64/lib"15 OASIS_LIB="-lpsmile.MPI1 -l mpp_io"13 OASIS_INCDIR="-I$PWD/../../oasis3-mct/BLD/build/lib/psmile.MPI1" 14 OASIS_LIBDIR="-L$PWD/../../oasis3-mct/BLD/lib" 15 OASIS_LIB="-lpsmile.MPI1 -lscrip -lmct -lmpeu" -
XIOS/trunk/arch/arch-GCC_MACOSX.path
r440 r475 7 7 HDF5_LIB="" 8 8 9 OASIS_INCDIR="-I$PWD/../../ prism/X64/build/lib/psmile.MPI1"10 OASIS_LIBDIR="-L$PWD/../../ prism/X64/lib"11 OASIS_LIB="-lpsmile.MPI1 -l mpp_io"9 OASIS_INCDIR="-I$PWD/../../oasis3-mct/BLD/build/lib/psmile.MPI1" 10 OASIS_LIBDIR="-L$PWD/../../oasis3-mct/BLD/lib" 11 OASIS_LIB="-lpsmile.MPI1 -lscrip -lmct -lmpeu" -
XIOS/trunk/arch/arch-PW6_VARGAS.path
r440 r475 11 11 MPI_LIB="" 12 12 13 OASIS_INCDIR="-I$PWD/../../ prism/X64/build/lib/psmile.MPI1"14 OASIS_LIBDIR="-L$PWD/../../ prism/X64/lib"15 OASIS_LIB="-lpsmile.MPI1 -l mpp_io"13 OASIS_INCDIR="-I$PWD/../../oasis3-mct/BLD/build/lib/psmile.MPI1" 14 OASIS_LIBDIR="-L$PWD/../../oasis3-mct/BLD/lib" 15 OASIS_LIB="-lpsmile.MPI1 -lscrip -lmct -lmpeu" -
XIOS/trunk/arch/arch-X64_ADA.path
r441 r475 11 11 HDF5_LIB="-lhdf5_hl -lhdf5 -lhdf5 -lz" 12 12 13 OASIS_INCDIR="-I$PWD/../../ prism/X64/build/lib/psmile.MPI1"14 OASIS_LIBDIR="-L$PWD/../../ prism/X64/lib"15 OASIS_LIB="-lpsmile.MPI1 -l mpp_io"13 OASIS_INCDIR="-I$PWD/../../oasis3-mct/BLD/build/lib/psmile.MPI1" 14 OASIS_LIBDIR="-L$PWD/../../oasis3-mct/BLD/lib" 15 OASIS_LIB="-lpsmile.MPI1 -lscrip -lmct -lmpeu" -
XIOS/trunk/arch/arch-X64_CURIE.path
r440 r475 11 11 HDF5_LIB="-lhdf5_hl -lhdf5 -lhdf5 -lz -lcurl" 12 12 13 OASIS_INCDIR="-I$PWD/../../ prism/X64/build/lib/psmile.MPI1"14 OASIS_LIBDIR="-L$PWD/../../ prism/X64/lib"15 OASIS_LIB="-lpsmile.MPI1 -l mpp_io"13 OASIS_INCDIR="-I$PWD/../../oasis3-mct/BLD/build/lib/psmile.MPI1" 14 OASIS_LIBDIR="-L$PWD/../../oasis3-mct/BLD/lib" 15 OASIS_LIB="-lpsmile.MPI1 -lscrip -lmct -lmpeu" 16 16 17 17 #only for MEMTRACK debuging : developper only -
XIOS/trunk/arch/arch-X64_CURIE_GCC.path
r440 r475 11 11 HDF5_LIB="" 12 12 13 OASIS_INCDIR="-I$PWD/../../ prism/X64/build/lib/psmile.MPI1"14 OASIS_LIBDIR="-L$PWD/../../ prism/X64/lib"15 OASIS_LIB="-lpsmile.MPI1 -l mpp_io"13 OASIS_INCDIR="-I$PWD/../../oasis3-mct/BLD/build/lib/psmile.MPI1" 14 OASIS_LIBDIR="-L$PWD/../../oasis3-mct/BLD/lib" 15 OASIS_LIB="-lpsmile.MPI1 -lscrip -lmct -lmpeu" -
XIOS/trunk/arch/arch-X64_CURIE_PGI.path
r440 r475 11 11 HDF5_LIB="" 12 12 13 OASIS_INCDIR="-I$PWD/../../ prism/X64/build/lib/psmile.MPI1"14 OASIS_LIBDIR="-L$PWD/../../ prism/X64/lib"15 OASIS_LIB="-lpsmile.MPI1 -l mpp_io"13 OASIS_INCDIR="-I$PWD/../../oasis3-mct/BLD/build/lib/psmile.MPI1" 14 OASIS_LIBDIR="-L$PWD/../../oasis3-mct/BLD/lib" 15 OASIS_LIB="-lpsmile.MPI1 -lscrip -lmct -lmpeu" -
XIOS/trunk/arch/arch-X64_CURIE_VAMPIR.path
r440 r475 11 11 HDF5_LIB="-lhdf5_hl -lhdf5 -lhdf5 -lz -lcurl" 12 12 13 OASIS_INCDIR="-I$PWD/../../ prism/X64/build/lib/psmile.MPI1"14 OASIS_LIBDIR="-L$PWD/../../ prism/X64/lib"15 OASIS_LIB="-lpsmile.MPI1 -l mpp_io"13 OASIS_INCDIR="-I$PWD/../../oasis3-mct/BLD/build/lib/psmile.MPI1" 14 OASIS_LIBDIR="-L$PWD/../../oasis3-mct/BLD/lib" 15 OASIS_LIB="-lpsmile.MPI1 -lscrip -lmct -lmpeu" -
XIOS/trunk/arch/arch-X64_HORUS.path
r440 r475 11 11 HDF5_LIB="-lhdf5_hl -lhdf5 -lhdf5 -lz" 12 12 13 OASIS_INCDIR="-I$PWD/../../ prism/X64/build/lib/psmile.MPI1"14 OASIS_LIBDIR="-L$PWD/../../ prism/X64/lib"15 OASIS_LIB="-lpsmile.MPI1 -l mpp_io"13 OASIS_INCDIR="-I$PWD/../../oasis3-mct/BLD/build/lib/psmile.MPI1" 14 OASIS_LIBDIR="-L$PWD/../../oasis3-mct/BLD/lib" 15 OASIS_LIB="-lpsmile.MPI1 -lscrip -lmct -lmpeu" -
XIOS/trunk/arch/arch-X64_JADE.path
r440 r475 11 11 HDF5_LIB="-lhdf5_hl -lhdf5 -lhdf5 -lz" 12 12 13 OASIS_INCDIR="-I$PWD/../../ prism/X64/build/lib/psmile.MPI1"14 OASIS_LIBDIR="-L$PWD/../../ prism/X64/lib"15 OASIS_LIB="-lpsmile.MPI1 -l mpp_io"13 OASIS_INCDIR="-I$PWD/../../oasis3-mct/BLD/build/lib/psmile.MPI1" 14 OASIS_LIBDIR="-L$PWD/../../oasis3-mct/BLD/lib" 15 OASIS_LIB="-lpsmile.MPI1 -lscrip -lmct -lmpeu" -
XIOS/trunk/arch/arch-X64_TITANE.path
r440 r475 11 11 HDF5_LIB="-lhdf5_hl -lhdf5 -lhdf5 -lz -lcurl" 12 12 13 OASIS_INCDIR="-I$PWD/../../ prism/X64/build/lib/psmile.MPI1"14 OASIS_LIBDIR="-L$PWD/../../ prism/X64/lib"15 OASIS_LIB="-lpsmile.MPI1 -l mpp_io"13 OASIS_INCDIR="-I$PWD/../../oasis3-mct/BLD/build/lib/psmile.MPI1" 14 OASIS_LIBDIR="-L$PWD/../../oasis3-mct/BLD/lib" 15 OASIS_LIB="-lpsmile.MPI1 -lscrip -lmct -lmpeu" -
XIOS/trunk/arch/arch-X64_TITANE_VAMPIR.path
r440 r475 11 11 HDF5_LIB="-lhdf5_hl -lhdf5 -lhdf5 -lz -lcurl" 12 12 13 OASIS_INCDIR="-I$PWD/../../ prism/X64/build/lib/psmile.MPI1"14 OASIS_LIBDIR="-L$PWD/../../ prism/X64/lib"15 OASIS_LIB="-lpsmile.MPI1 -l mpp_io"13 OASIS_INCDIR="-I$PWD/../../oasis3-mct/BLD/build/lib/psmile.MPI1" 14 OASIS_LIBDIR="-L$PWD/../../oasis3-mct/BLD/lib" 15 OASIS_LIB="-lpsmile.MPI1 -lscrip -lmct -lmpeu" -
XIOS/trunk/arch/arch-XE6_LYNX.path
r440 r475 11 11 HDF5_LIB="-lhdf5_hl -lhdf5 -lz -lcurl" 12 12 13 OASIS_INCDIR="-I$PWD/../../ prism/X64/build/lib/psmile.MPI1"14 OASIS_LIBDIR="-L$PWD/../../ prism/X64/lib"15 OASIS_LIB="-lpsmile.MPI1 -l mpp_io"13 OASIS_INCDIR="-I$PWD/../../oasis3-mct/BLD/build/lib/psmile.MPI1" 14 OASIS_LIBDIR="-L$PWD/../../oasis3-mct/BLD/lib" 15 OASIS_LIB="-lpsmile.MPI1 -lscrip -lmct -lmpeu" -
XIOS/trunk/bld.cfg
r462 r475 55 55 bld::excl_dep use::mod_prism_get_localcomm_proto 56 56 bld::excl_dep use::mod_prism_proto 57 bld::excl_dep use::mod_prism 57 58 bld::excl_dep inc::mpif.h -
XIOS/trunk/make_xios
r440 r475 4 4 compil_full="false" 5 5 use_oasis="false" 6 oasis="oasis3_mct" 6 7 use_memtrack="false" 7 8 job="1" … … 23 24 echo " [--avail] : to know available target architectures " 24 25 echo " [--full] : to generate dependencies and recompile from scratch" 25 echo " [--use_oasis ] : to use Oasis coupler"26 echo " [--use_oasis 'oasis3' 'oasis3_mct' : default oasis3_mct] : to use Oasis coupler" 26 27 echo " [--doc] : to generate Doxygen documentation (not available yet)" 27 28 echo " [--job ntasks] : to use parallel compilation with ntasks" … … 37 38 "--avail") ls arch/*.fcm | cut -d"-" -f2 | cut -d"." -f1 ; exit ;; 38 39 "--full") compil_full="true" ; shift ;; 39 "--use_oasis") use_oasis="true" ; shift ;;40 "--use_oasis") use_oasis="true" oasis=$2 ; shift ; shift ;; 40 41 "--doc") doc="true" ; shift ;; 41 42 "--job") job=$2 ; shift ; shift ;; … … 130 131 if [[ "$use_oasis" == "true" ]] 131 132 then 132 NETCDF_LIB="-lnetcdff -lnetcdf" 133 XMLIO_FINCDIR="$OASIS_INCDIR $XMLIO_FINCDIR" 134 XMLIO_LIB="$OASIS_LIBDIR $OASIS_LIB $XMLIO_LIB" 135 XMLIO_CPPKEY="$XMLIO_CPPKEY USE_OASIS" 133 if [[ "$oasis" == "oasis3_mct" ]] 134 then 135 XMLIO_CPPKEY="$XMLIO_CPPKEY USE_OMCT" 136 elif [[ "$oasis" == "oasis3" ]] 137 then 138 XMLIO_CPPKEY="$XMLIO_CPPKEY USE_OASIS" 139 OASIS_INCDIR="-I$PWD/../../prism/X64/build/lib/psmile.MPI1" 140 OASIS_LIBDIR="-L$PWD/../../prism/X64/lib" 141 OASIS_LIB="-lpsmile.MPI1 -lmpp_io" 142 else 143 echo "Bad choice for --use_oasis argument : choose between 'oasis3','oasis3_mct'" 144 exit 145 fi 146 NETCDF_LIB="-lnetcdff -lnetcdf" 147 XMLIO_FINCDIR="$OASIS_INCDIR $XMLIO_FINCDIR" 148 XMLIO_LIB="$OASIS_LIBDIR $OASIS_LIB $XMLIO_LIB" 136 149 fi 137 150 -
XIOS/trunk/src/interface/c/oasis_cinterface.cpp
r382 r475 16 16 } 17 17 18 void oasis_enddef(void) 19 { 20 fxios_oasis_enddef() ; 21 } 22 18 23 void oasis_get_localcomm(MPI_Comm& comm) 19 24 { -
XIOS/trunk/src/interface/c/oasis_cinterface.hpp
r382 r475 8 8 9 9 void fxios_oasis_init(const char* server_id,int str_len) ; 10 void fxios_oasis_enddef(void) ; 10 11 void fxios_oasis_finalize(void) ; 11 12 void fxios_oasis_get_localcomm(MPI_Fint* f_comm) ; … … 17 18 { 18 19 void oasis_init(const std::string& server_id) ; 20 void oasis_enddef(void) ; 19 21 void oasis_finalize(void) ; 20 22 void oasis_get_localcomm(MPI_Comm& comm) ; -
XIOS/trunk/src/interface/fortran/oasis_interface.F90
r325 r475 3 3 #ifdef USE_OASIS 4 4 USE mod_prism_proto 5 #endif 6 #ifdef USE_OMCT 7 USE mod_prism 5 8 #endif 6 9 CHARACTER(kind = C_CHAR),DIMENSION(*) :: server_id … … 16 19 ENDDO 17 20 18 #if def USE_OASIS19 CALL prism_init_comp_proto (comp_id, oasis_server_id, ierr)21 #if defined USE_OASIS || defined USE_OMCT 22 CALL prism_init_comp_proto (comp_id, oasis_server_id, ierr) 20 23 #endif 21 24 PRINT *,"---> prism_init",oasis_server_id,ierr … … 23 26 END SUBROUTINE fxios_oasis_init 24 27 28 SUBROUTINE fxios_oasis_enddef() BIND(C,NAME="fxios_oasis_enddef") 29 USE, INTRINSIC :: ISO_C_BINDING 30 #ifdef USE_OMCT 31 USE mod_prism 32 #endif 33 IMPLICIT NONE 34 INTEGER :: ierr 35 #ifdef USE_OMCT 36 CALL prism_enddef_proto(ierr) 37 #endif 38 39 END SUBROUTINE fxios_oasis_enddef 25 40 26 41 SUBROUTINE fxios_oasis_finalize() BIND(C,NAME="fxios_oasis_finalize") … … 29 44 USE mod_prism_proto 30 45 #endif 46 #ifdef USE_OMCT 47 USE mod_prism 48 #endif 31 49 IMPLICIT NONE 32 50 INTEGER :: ierr 33 51 34 #if def USE_OASIS52 #if defined USE_OASIS || defined USE_OMCT 35 53 CALL prism_terminate_proto(ierr) 36 54 #endif … … 42 60 USE, INTRINSIC :: ISO_C_BINDING 43 61 #ifdef USE_OASIS 44 !USE mod_prism_get_localcomm_proto62 USE mod_prism_get_localcomm_proto 45 63 #endif 64 #ifdef USE_OMCT 65 USE mod_prism 66 #endif 46 67 IMPLICIT NONE 47 68 INTEGER(kind=C_INT) :: f_comm … … 50 71 INTEGER :: ierr 51 72 52 #if def USE_OASIS73 #if defined USE_OASIS || defined USE_OMCT 53 74 CALL prism_get_localcomm_proto(comm,ierr) 54 75 #endif … … 64 85 #ifdef USE_OASIS 65 86 USE mod_prism_get_comm 87 #endif 88 #ifdef USE_OMCT 89 USE mod_prism 66 90 #endif 67 91 IMPLICIT NONE … … 79 103 ENDDO 80 104 81 #if def USE_OASIS105 #if defined USE_OASIS || defined USE_OMCT 82 106 CALL prism_get_intracomm(comm_client_server,oasis_client_id,ierr) 83 107 #endif … … 91 115 #ifdef USE_OASIS 92 116 USE mod_prism_get_comm 117 #endif 118 #ifdef USE_OMCT 119 USE mod_prism 93 120 #endif 94 121 IMPLICIT NONE … … 106 133 ENDDO 107 134 108 #if def USE_OASIS135 #if defined USE_OASIS || defined USE_OMCT 109 136 CALL prism_get_intercomm(comm_client_server,oasis_client_id,ierr) 110 137 #endif -
XIOS/trunk/src/server.cpp
r382 r475 118 118 interComm.push_back(newComm) ; 119 119 } 120 oasis_enddef() ; 120 121 } 121 122
Note: See TracChangeset
for help on using the changeset viewer.