Changeset 57a9cce in flexpart.git
- Timestamp:
- Oct 12, 2016, 2:06:05 PM (8 years ago)
- Branches:
- FPv9.3.1, FPv9.3.2, fp9.3.1-20161214-nc4, grib2nc4_repair
- Children:
- 27b27d1
- Parents:
- e7403c8
- Location:
- flexpart_code
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
flexpart_code/FLEXPART.F90
r496c607 r57a9cce 79 79 !******************************************************* 80 80 #if defined CTBTO 81 print*,'Welcome to FLEXPART Version 9. 0CTBTO'81 print*,'Welcome to FLEXPART Version 9.3.1f CTBTO' 82 82 #else 83 print*,'Welcome to FLEXPART Version 9. 0'83 print*,'Welcome to FLEXPART Version 9.3.1f' 84 84 #endif 85 85 -
flexpart_code/GRIB2FLEXPART.F90
rf155f96 r57a9cce 59 59 !******************************************************* 60 60 #if defined CTBTO 61 print*,'Welcome to GRIB2FLEXPART Version 1.0CTBTO'61 print*,'Welcome to GRIB2FLEXPART Version 9.3.1f CTBTO' 62 62 #else 63 print*,'Welcome to GRIB2FLEXPART Version 1.0'63 print*,'Welcome to GRIB2FLEXPART Version 9.3.1f' 64 64 #endif 65 65 … … 217 217 write (current_time, *) time() 218 218 ! generate tmp file name using PID and timestamp 219 tmp_file_name = "overwritecheck_"//trim(adjustl(pid))//"_"//trim(adjustl(current_time))//".tmp"220 tmp_file_path = trim(dump_path)//"/"//trim(tmp_file_name)219 !! tmp_file_name = "overwritecheck_"//trim(adjustl(pid))//"_"//trim(adjustl(current_time))//".tmp" 220 !! tmp_file_path = trim(dump_path)//"/"//trim(tmp_file_name) 221 221 222 222 ! create tmp file in output directory 223 open(10001, file=trim(tmp_file_path), status="new", action="write", iostat=open_status)223 !! open(10001, file=trim(tmp_file_path), status="new", action="write", iostat=open_status) 224 224 ! check for tmp file 225 if ( open_status /= 0 ) then 226 print *, "Output directory does not exist or is not writeable" 227 stop 'Error: Incorrect arguments' 228 endif 225 !! if ( open_status /= 0 ) then 226 !! print *, "Output directory does not exist or is not writeable" 227 !! print *, "File "//trim(tmp_file_path)//", iostat=",open_status 228 !! print *, "PID: ", pid, getpid() 229 !! print *, "current_time: ", current_time 230 231 !! stop 'Error: Incorrect arguments' 232 !! endif 229 233 230 234 ! generate tmp file name in input directory 231 235 if ( input_is_path == 1) then 232 check_file_path = trim(input_path)//"/"//trim(tmp_file_name) 233 else 234 check_file_path=trim(input_path(:scan(input_path, '/', .TRUE.)))//trim(tmp_file_name) 236 !! check_file_path = trim(input_path)//"/"//trim(tmp_file_name) 237 stop 'Error: Incorrect arguments; input file is path' 238 else 239 if ( scan(input_path, '/') == 0 ) then 240 check_file_path=trim(dump_path)//"/"//trim(input_path) 241 else 242 check_file_path=trim(dump_path)//trim(input_path(scan(input_path, '/', .TRUE.):)) 243 endif 235 244 endif 236 245 !check for file presence 246 print *, "Check if output file "//trim(check_file_path)//" exists ..." 237 247 inquire(file=TRIM(check_file_path), exist=exists) 238 248 ! delete tmp file 239 close(10001, status='DELETE')249 !! close(10001, status='DELETE') 240 250 if ( exists ) then 241 251 overwritecheck = -1 252 print *, "Warning: Output file "//trim(check_file_path)//" exists" 253 stop 'Please remove this file if the output directory is correct' 242 254 endif 243 255 -
flexpart_code/fpmetbinary_mod.F90
r5cef1eb r57a9cce 56 56 ! this routine will not be able to read a previous version, this version 57 57 ! string should be modified 58 CHARACTER(LEN= 8), PARAMETER :: PREPROC_FORMAT_VERSION_STR = '9.3.1e '58 CHARACTER(LEN=12), PARAMETER :: PREPROC_FORMAT_VERSION_STR = 'FP_p-9.3.1'//char(0) 59 59 60 60 PRIVATE IOUNIT_DUMP, IOUNIT_LOAD, IOUNIT_TEXTOUT, fpio, & … … 275 275 & temp_nuvzmax, temp_nwzmax 276 276 277 CHARACTER(LEN= 8) :: temp_preproc_format_version_str277 CHARACTER(LEN=12) :: temp_preproc_format_version_str 278 278 279 279 CHARACTER(LEN=128) :: errmesg -
flexpart_code/makefile.ctbto.ifort
r9cd7c04 r57a9cce 9 9 # Set up for devlan ifort 10 10 INTEL_ROOT = /cots/intel/composer_xe_2013.2.146 11 GRIB_API_ROOT = /dvl/atm/klinkl/ tmp/ifort_grib_api/grib_api-1.12.311 GRIB_API_ROOT = /dvl/atm/klinkl/src/ifort_grib_api/grib_api-1.12.3 12 12 13 13 FC = $(INTEL_ROOT)/bin/ifort -
flexpart_code/makefile.general.ifort
r9cd7c04 r57a9cce 10 10 # Set up for devlan ifort 11 11 INTEL_ROOT = /cots/intel/composer_xe_2013.2.146 12 GRIB_API_ROOT = /dvl/atm/klinkl/ tmp/ifort_grib_api/grib_api-1.12.312 GRIB_API_ROOT = /dvl/atm/klinkl/src/ifort_grib_api/grib_api-1.12.3 13 13 14 14 FC = $(INTEL_ROOT)/bin/ifort
Note: See TracChangeset
for help on using the changeset viewer.