[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Condor-users] mcnp5 and condor -- file not found, unit 39?



I sent the attached message to the mcnp forums, but after a bit
of digging I'm wondering if my file-not-found error is due to
the fact that mcnp uses unnamed fortran scratch files, which it might be
trying to write where it doesn't have permission.  I'm using
condor-6.9.2, and I can generate a similar (if not identical) error
with a simple hello-world fortran program that writes to a scratch
file.  Is there a canonical fix for this problem that avoids having
to hack and recompile mcnp (which would be highly non-trivial, since 
I don't have a fortran-90 compiler for windows)?

Thanks,
Grant Goodyear
-- 
Grant Goodyear		
web: http://www.grantgoodyear.org	
e-mail: grant@xxxxxxxxxxxxxxxxx	
--- Begin Message ---
I'm trying to get mcnp5 (v 1.40) to run with the condor batching system
(http://www.cs.wisc.edu/condor/) on a small cluster of windows machines.
My condor setup runs a simple hello-world executable without problem,
but I run into a strange "file not found, unit 39" error when trying
to run mcnp5 via condor.  (Without condor, the job runs just fine.)

Here's the helpful error message that I get:

> cat tal7.err
forrtl: severe (29): file not found, unit 39, file 
Image              PC        Routine            Line        Source             
mcnp5.exe          0065911A  Unknown               Unknown  Unknown
mcnp5.exe          0065639C  Unknown               Unknown  Unknown
mcnp5.exe          00608E3E  Unknown               Unknown  Unknown
mcnp5.exe          00608A4A  Unknown               Unknown  Unknown
mcnp5.exe          005EF2D4  Unknown               Unknown  Unknown
mcnp5.exe          0047EC44  Unknown               Unknown  Unknown
mcnp5.exe          004B1DC6  Unknown               Unknown  Unknown
mcnp5.exe          0065C0C0  Unknown               Unknown  Unknown
mcnp5.exe          00649F59  Unknown               Unknown  Unknown
kernel32.dll       7C816FD7  Unknown               Unknown  Unknown

Grepping through the source, it looks like unit 39 might correspond to
a scratch file, so I'm guessing a permissions problem somewhere?
Anybody else seen this sort of problem?

I've attached the submission file (tal7su), input deck (tal7),
and various output files that were generated, in case that's helpful
to somebody.

Thanks,
Grant Goodyear
-- 
Grant Goodyear		
web: http://www.grantgoodyear.org	
e-mail: grant@xxxxxxxxxxxxxxxxx	
Problem fv4  -  15 x 15 assembly
c
c    CELLS
10   100  0.06925613  -1      u=1         $ fuel
20   200  0.042910     1 -2   u=1         $ clad
30   300  0.100059     2      u=1         $ water
40   0                -3     fill=1  lat=1   u=2
50   0                -4     fill=2       $ lattice region
60   300  0.100059     4 -5               $ outer water
70   400  0.083770     5 -6               $ iron
80   0                 6                  $ zero-import region

c    SURFACES
1    RCC  0. 0. -180.   0. 0. 360.   0.44
2    RCC  0. 0. -180.   0. 0. 360.   0.49
3    RPP  -.7 .7  -.7 .7    -210. 210.
4    RPP  -10.5 10.5   -10.5 10.5   -210. 210.
5    RPP  -13.0 13.0   -13.0 13.0   -210. 210.
*6   RPP  -13.5 13.5   -13.5 13.5   -209.99 209.99

c    DATA
c
kcode   1000    1.0  10  50 
sdef   x=d1  y=d2  z=d3
si1   -10.5  10.5
sp1      0     1
si2   -10.5  10.5
sp2      0     1
si3   -180. 180.
sp3      0     1
imp:n    1 1 1 1   1 1 1 0
c
m100   92238 2.2380e-2   92235 8.2213e-4  8016 4.6054e-2  $ fuel
m200   40000 4.2910e-2                                    $ clad
m300    1001 6.6706e-2    8016 3.3353e-2                  $ water
mt300   lwtr
m400   26000 0.083770
c
c FISSION HEATING IN EACH FUEL PIN (MeV)
f4:n  ( 10 < 40[-7:7 -7:7 0:0] < 50 )
fm4  -1.0  100  -6 -8
sd4   1.0  224r
Executable = mcnp5.exe
Universe   = vanilla
Output     = tal7.out
Log        = tal7.log
Error      = tal7.err
Arguments  = inp=tal7 ou=tal7ou
transfer_input_files = tal7, X11.dll
getenv     = True
should_transfer_files = YES
when_to_transfer_output = ON_EXIT_OR_EVICT

Queue
          Thread Name & Version = MCNP5_RSICC, 1.40
                                _                                      
          ._ _    _  ._   ._   |_                                      
          | | |  (_  | |  |_)   _)                                     
                          |                                            
 +--------------------------------------------------------------------+
 |   This program was prepared by the Regents of the University of    |
 |California at Los Alamos National Laboratory (the University) under |
 |  contract number W-7405-ENG-36 with the U.S. Department of Energy  |
 |(DoE).  The University has certain rights in the program pursuant to|
 |  the contract and the program should not be copied or distributed  |
 | outside your organization.  All rights in the program are reserved |
 |by the DoE and the University.  Neither the U.S. Government nor the |
 | University makes any warranty, express or implied, or assumes any  |
 |     liability or responsibility for the use of this software.      |
 +--------------------------------------------------------------------+
  
1mcnp     version 5     ld=11012005                     05/14/07 12:30:56 
 *************************************************************************                 probid =  05/14/07 12:30:56 
 inp=tal7 ou=tal7ou                                                              

forrtl: severe (29): file not found, unit 39, file 
Image              PC        Routine            Line        Source             
condor_exec.exe    0065911A  Unknown               Unknown  Unknown
condor_exec.exe    0065639C  Unknown               Unknown  Unknown
condor_exec.exe    00608E3E  Unknown               Unknown  Unknown
condor_exec.exe    00608A4A  Unknown               Unknown  Unknown
condor_exec.exe    005EF2D4  Unknown               Unknown  Unknown
condor_exec.exe    0047EC44  Unknown               Unknown  Unknown
condor_exec.exe    004B1DC6  Unknown               Unknown  Unknown
condor_exec.exe    0065C0C0  Unknown               Unknown  Unknown
condor_exec.exe    00649F59  Unknown               Unknown  Unknown
kernel32.dll       7C816FD7  Unknown               Unknown  Unknown
 mcnp     ver=5    , ld=11012005  05/14/07 12:30:56                   
          Thread Name & Version = MCNP5_RSICC, 1.40
          Copyright LANL/UC/DOE - see output file
                                _                                      
          ._ _    _  ._   ._   |_                                      
          | | |  (_  | |  |_)   _)                                     
                          |                                            
  
000 (023.000.000) 05/14 12:30:50 Job submitted from host: <34.52.12.137:1059>
...
001 (023.000.000) 05/14 12:30:56 Job executing on host: <34.52.12.137:1060>
...
005 (023.000.000) 05/14 12:30:56 Job terminated.
	(1) Normal termination (return value 29)
		Usr 0 00:00:00, Sys 0 00:00:00  -  Run Remote Usage
		Usr 0 00:00:00, Sys 0 00:00:00  -  Run Local Usage
		Usr 0 00:00:00, Sys 0 00:00:00  -  Total Remote Usage
		Usr 0 00:00:00, Sys 0 00:00:00  -  Total Local Usage
	2731  -  Run Bytes Sent By Job
	3730198  -  Run Bytes Received By Job
	2731  -  Total Bytes Sent By Job
	3730198  -  Total Bytes Received By Job
...

--- End Message ---
      program hello
      real readnum
      mynum = 27.d0
      open(39, status='scratch', form='unformatted')
      write(39) mynum
      write(*,*) 'Hello, world'
      end program 
open: Permission denied
apparent state: unit 39 named \fort.392
lately writing direct unformatted external IO

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.