175 |
print *, 'ph-pack: packing ', costname(1:9) |
print *, 'ph-pack: packing ', costname(1:9) |
176 |
endif |
endif |
177 |
|
|
178 |
|
c-- Only Proc 0 will do I/O. |
179 |
|
IF ( myProcId .eq. 0 ) THEN |
180 |
|
|
181 |
call mdsfindunit( cunit, mythid ) |
call mdsfindunit( cunit, mythid ) |
182 |
open( cunit, file = cfile, |
open( cunit, file = cfile, |
183 |
& status = 'unknown', |
& status = 'unknown', |
223 |
write(cunit) (ncvargrd(i), i=1,maxcvars) |
write(cunit) (ncvargrd(i), i=1,maxcvars) |
224 |
write(cunit) |
write(cunit) |
225 |
|
|
226 |
|
#ifndef ALLOW_PACKUNPACK_LEGACY |
227 |
|
ENDIF |
228 |
|
_END_MASTER( mythid ) |
229 |
|
_BARRIER |
230 |
|
#endif |
231 |
|
|
232 |
#ifdef ALLOW_THETA0_CONTROL |
#ifdef ALLOW_THETA0_CONTROL |
233 |
ivartype = 1 |
ivartype = 1 |
234 |
write(weighttype(1:80),'(80a)') ' ' |
write(weighttype(1:80),'(80a)') ' ' |
631 |
& weighttype, wkapredi, lxxadxx, mythid) |
& weighttype, wkapredi, lxxadxx, mythid) |
632 |
#endif |
#endif |
633 |
|
|
634 |
close ( cunit ) |
#ifndef ALLOW_PACKUNPACK_LEGACY |
635 |
|
_BEGIN_MASTER( mythid ) |
636 |
_END_MASTER( mythid ) |
IF ( myProcId .eq. 0 ) THEN |
637 |
|
#endif |
638 |
|
|
639 |
|
close ( cunit ) |
640 |
|
ENDIF !IF ( myProcId .eq. 0 ) |
641 |
|
_END_MASTER( mythid ) |
642 |
|
_BARRIER |
643 |
#endif /* EXCLUDE_CTRL_PACK */ |
#endif /* EXCLUDE_CTRL_PACK */ |
644 |
|
|
645 |
return |
return |