00001 !------------------------------------------------------------------------ 00002 ! Copyright 2006-2010, CERFACS, Toulouse, France. 00003 ! All rights reserved. Use is subject to OASIS4 license terms. 00004 !----------------------------------------------------------------------- 00005 !BOP 00006 ! 00007 ! Copyright 2004, 2005 by CERFACS, NEC-CCRLE, SGI Germany, NEC HPCE, and CNRS 00008 ! 00009 ! This software and ancillary information called OASIS4 is free 00010 ! software. The public may copy, distribute, use, prepare derivative 00011 ! works and publicly display OASIS4 under the terms of the Lesser GNU 00012 ! General Public License (LGPL) as published by the Free Software 00013 ! Foundation, provided that this notice and any statement of authorship 00014 ! are reproduced on all copies. If OASIS4 is modified to produce 00015 ! derivative works, such modified software should be clearly marked, so 00016 ! as not to confuse it with the current OASIS4 version. 00017 00018 ! The developers of the OASIS4 software attempt to build a parallel, 00019 ! modular, and user-friendly coupler accessible to the climate modelling 00020 ! community. Although we use the tool ourselves and have made every 00021 ! effort to ensure its accuracy, we can not make any guarantees. The 00022 ! software is provided for free; in return, the user assume full 00023 ! responsibility for use of the software. The OASIS4 software comes 00024 ! without any warranties (implied or expressed) and is not guaranteed to 00025 ! work for you or on your computer. CERFACS, NEC-CCRLE, SGI Germany, 00026 ! and NEC HPCE and the various individuals involved in development and 00027 ! maintenance of the OASIS4 software are not responsible for any damage 00028 ! that may result from correct or incorrect use of this software. 00029 ! 00030 ! 00031 ! !ROUTINE: PRISMDrv_main 00032 ! 00033 ! !INTERFACE 00034 PROGRAM PRISMDrv_main 00035 00036 ! 00037 ! !USES: 00038 ! 00039 USE PRISMDrv 00040 00041 ! !RETURN VALUE 00042 00043 ! !DESCRIPTION 00044 ! main program of the driver 00045 ! 00046 ! !REVISED HISTORY 00047 ! Date Programmer Description 00048 ! ---------- ---------- ----------- 00049 ! 03/10/2002 D. Declat Creation 00050 ! 00051 ! EOP 00052 !---------------------------------------------------------------------- 00053 ! $Id: prismdrv_main.F90 2325 2010-04-21 15:00:07Z valcke $ 00054 ! $Author: valcke $ 00055 !---------------------------------------------------------------------- 00056 ! 00057 ! 0. Local declarations 00058 ! 00059 CHARACTER(LEN=len_cvs_string), SAVE :: mycvs = 00060 '$Id: prismdrv_main.F90 2325 2010-04-21 15:00:07Z valcke $' 00061 00062 INTEGER :: il_err 00063 00064 ! --------------------------------------------------------------------- 00065 ! 00066 ! 1. Initialization 00067 ! 00068 ! 1.1. Initialize the driver context 00069 00070 call prismdrv_init (il_err) 00071 00072 ! 1.2. Get the information of the scc file 00073 00074 call prismdrv_set_scc_info (il_err) 00075 00076 ! 1.3. Initialize the coupled system applications 00077 00078 call prismdrv_init_appl (il_err) 00079 00080 ! 1.4. Get the information of the smioc file 00081 00082 call prismdrv_set_smioc_info (il_err) 00083 00084 ! 00085 ! 2. Start the transformer 00086 ! 00087 call prismtrs_main (il_err) 00088 00089 ! 00090 ! 3. Finalization 00091 ! 00092 call prismdrv_finalize (il_err) 00093 00094 00095 00096 END PROGRAM PRISMDrv_main 00097 00098 00099 00100 00101 00102