Changeset 3532 for trunk/LMDZ.COMMON/libf/evolution/pem.F90
- Timestamp:
- Dec 4, 2024, 4:04:54 PM (3 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/pem.F90
r3527 r3532 62 62 use compute_tend_mod, only: compute_tend 63 63 use info_PEM_mod, only: info_PEM 64 use interpol_TI_PEM2PCM_mod, only: interpol_TI_PEM2PCM65 64 use nb_time_step_PCM_mod, only: nb_time_step_PCM 66 65 use pemetat0_mod, only: pemetat0 … … 298 297 call execute_command_line('squeue -j '//trim(job_id)//' -h --Format TimeLimit > tmp_cmdout.txt',cmdstat = cstat) 299 298 if (cstat /= 0) then 300 call execute_command_line('qstat -f '//trim(job_id)//' | grep "Walltime" | awk ''{print $3}'' > tmp_cmdout.txt', 299 call execute_command_line('qstat -f '//trim(job_id)//' | grep "Walltime" | awk ''{print $3}'' > tmp_cmdout.txt',cmdstat = cstat) 301 300 if (cstat > 0) then 302 301 error stop 'pem: command execution failed!' … … 939 938 do ig = 1,ngrid 940 939 do islope = 1,nslope 941 call dyn_ss_ice_m(icetable_depth(ig,islope),tsurf_avg(ig,islope),tsoil_PEM(ig,:,islope),nsoilmx_PEM,TI_PEM(ig,1,nslope),ps(ig), sum(q_h2o_PEM_phys(ig,:))/size(q_h2o_PEM_phys,2),ice_porefilling(ig,:,islope),porefill,ssi_depth)940 call dyn_ss_ice_m(icetable_depth(ig,islope),tsurf_avg(ig,islope),tsoil_PEM(ig,:,islope),nsoilmx_PEM,TI_PEM(ig,1,nslope),ps(ig),(/sum(q_h2o_PEM_phys(ig,:))/size(q_h2o_PEM_phys,2)/),ice_porefilling(ig,:,islope),porefill,ssi_depth) 942 941 icetable_depth(ig,islope) = ssi_depth 943 942 ice_porefilling(ig,:,islope) = porefill … … 961 960 do ig = 1,ngrid 962 961 do islope = 1,nslope 963 do l = 1,nsoilmx_PEM 962 do l = 1,nsoilmx_PEM 964 963 if (l == 1) then 965 964 totmassco2_adsorbded = totmassco2_adsorbded + co2_adsorbded_phys(ig,l,islope)*(layer_PEM(l))* & … … 1008 1007 call writediagsoilpem(ngrid,'co2_ads_slope'//str2,'co2_ads','K',3,co2_adsorbded_phys(:,:,islope)) 1009 1008 call writediagsoilpem(ngrid,'h2o_ads_slope'//str2,'h2o_ads','K',3,h2o_adsorbded_phys(:,:,islope)) 1010 endif 1009 endif 1011 1010 endif 1012 1011 enddo … … 1101 1100 ! III_a.2 Tsoil update (for startfi) 1102 1101 if (soil_pem) then 1103 call interpol_TI_PEM2PCM(ngrid,nslope,nsoilmx_PEM,nsoilmx,TI_PEM,inertiesoil)1102 inertiesoil = TI_PEM(:,:nsoilmx,:) 1104 1103 tsoil = tsoil_PEM(:,1:nsoilmx,:) + tsoil_anom(:,:,:,timelen) 1105 1104 #ifndef CPP_STD
Note: See TracChangeset
for help on using the changeset viewer.