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

Re: [Condor-users] fatal error while compiling an f90 "hello world"within (vanilla) condor pool



Thanks for the response. It pointed me in the right direction and I
realised that although my TEMP and TMP variables were set OK, there was
insufficient permissions for the condor user to access this directory.

All the best,
Rob

-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx
[mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Tijmen
Sent: 21 August 2007 12:30
To: Condor-Users Mail List
Subject: Re: [Condor-users] fatal error while compiling an f90 "hello
world"within (vanilla) condor pool

It appears that the environment settings for the compiled job does not
include the necessary TEMP (and/or) TMP environment variable (or it does
not point to a valid directory (by default something like
%USERPROFILE%\Local Settings\Temp).

Kind regards,


On 8/21/07, Rob  D. Stevenson <r.stevenson@xxxxxxxxxxxxxxxxxxx> wrote:
>
>
> Note to admin: Apologies, I previously sent this email from an email 
> address that was not registered on the list, this was a mix with me 
> registering the wrong email address.
>
> Hello Condor users,
> I've been running a condor pool here for a few months, mostly
successfully.
> However, one program that I have been testing always fails. I have 
> narrowed it down to the beginning of the run where it tries to compile

> some user-customisable code before the main model runs. I've stripped 
> out everything and left only the part that doesn't work.
>
> I can successfully compile a FORTRAN90 "hello world" program when 
> directly on the machine, but when trying to run this same code from a 
> condor job, it fails with this error: LINK : fatal error LNK1104: 
> cannot open file "TEMPFILE".
>
> Has anyone had similar experiences to me with this issue?
>
> I believe all details required to understand what I'm up to are below.

> If any more information would be helpful, please let me know!
>
> Thank you for any help that you can offer, Rob Stevenson
>
>
>
>
>
> Compiler & system version:
> W:\test\hello>df
> Compaq Visual Fortran Optimizing Compiler Version 6.5
> Copyright 2000 Compaq Computer Corp. All rights reserved.
>
>
> OS: Microsoft Windows XP SP2
>
>
>
> filename: submit_hel1
> Executable     = \\ice2\des0855\test\hello\runh.bat
>   Universe = vanilla
>   output  = stdout_err
>   error   = stdout_err
>   Log     = log
>
>   getenv = true
>   transfer_input_files = hello.f90
> Requirements = (HAS_COMPILER_F =?= true)
>   Initialdir     = \\ice2\des0855\test\hello
>   Queue
>
> filename: hello.f90
> ! Hello World in Fortran 90 and 95
>
> PROGRAM HelloWorld
>      WRITE(*,*)  "Hello World!"
> END PROGRAM
>
>
> filename: runh.bat
> df hello.f90
>
>
> stdout and stderr when trying to run the above through condor:
> Compaq Visual Fortran Optimizing Compiler Version 6.5
> Copyright 2000 Compaq Computer Corp. All rights reserved.
>
> hello.f90
> Microsoft (R) Incremental Linker Version 6.00.8447
> Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
>
> /subsystem:console
> /entry:mainCRTStartup
> /ignore:505
> /debugtype:cv
> /debug:minimal
> /pdb:none
> obj12CA.tmp
> dfor.lib
> libc.lib
> dfconsol.lib
> dfport.lib
> kernel32.lib
> /out:hello.exe
> LINK : fatal error LNK1104: cannot open file "TEMPFILE"
>
>
> environment settings for filed compiling job:
> W:\test>condor_q -l -g 118
> -- Schedd: xxx.xxx.xxx : <192.xxx.xxx.xxx:4431 >
> MyType = "Job"
> TargetType = "Machine"
> ClusterId = 118
> QDate = 1187365476
> CompletionDate = 0
> Owner = "rds"
> NTDomain = "HR"
> RemoteWallClockTime = 0.000000
> LocalUserCpu = 0.000000
> LocalSysCpu = 0.000000
> RemoteUserCpu = 0.000000
> RemoteSysCpu = 0.000000
> ExitStatus = 0
> NumCkpts_RAW = 0
> NumCkpts = 0
> NumRestarts = 0
> NumSystemHolds = 0
> CommittedTime = 0
> TotalSuspensions = 0
> CumulativeSuspensionTime = 0
> ExitBySignal = FALSE
> CondorVersion = "$CondorVersion: 6.8.5 May 17 2007 $"
> CondorPlatform = "$CondorPlatform: INTEL-WINNT50 $"
> Iwd = "\\ice2\des0855\test\hello"
> JobUniverse = 5
> Cmd = "\\ice2\des0855\test\hello\runh.bat"
> MinHosts = 1
> MaxHosts = 1
> WantRemoteSyscalls = FALSE
> WantCheckpoint = FALSE
> JobPrio = 0
> User = "rds@xxxxxxxxxxxx"
> NiceUser = FALSE
> Environment = "ADSKFLEX_LICENSE_FILE=@graupel;@shower;
> ALLUSERSPROFILE=C:\Docume
> nts' 'and' 'Settings\All' 'Users APPDATA=C:\Documents' 'and'
> 'Settings\rds\Appli
> cation' 'Data CLIENTNAME=Console CommonProgramFiles=C:\Program'
> 'Files\Common' '
> Files
>
Path=C:\TELEMAC\V5P5\BIN;C:\TELEMAC\V5P5\PERL\BIN;C:\TELEMAC\V5P5\BIN;C:
\T
> ELEMAC\V5P5\PERL\BIN;C:\Program' 'Files\Microsoft' 'Visual'
> 'Studio\Common\Tools
> ;C:\Program' 'Files\Microsoft' 'Visual'
> 'Studio\Common\Msdev98\BIN;C:\Program' '
> Files\Microsoft' 'Visual' 'Studio\DF98\BIN;C:\Program'
'Files\Microsoft'
> 'Visual
> '
>
'Studio\VC98\BIN;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
;C:\Pr
> ogram' 'Files\PC-Doctor' 'for' 'Windows\services;C:\Program'
'Files\Common'
> 'Fil
> es\Autodesk' 'Shared\;C:\Program'
> 'Files\Hummingbird\Connectivity\9.00\Accessori
> es\;c:\matlab6p1\bin\win32;C:\Program'
> 'Files\MPICH\mpd\bin;c:\condor\bin;c:\min
> gw\msys\g95\bin;c:\condor\bin;C:\Program'
> 'Files\GnuWin32\bin;D:\work\nmap\nmap-
> 4.20;;; COMPUTERNAME=GLOY
> ComSpec=C:\WINDOWS\system32\cmd.exe CPU=i386 FP_NO_HOS
> T_CHECK=NO HOMEDRIVE=C: HOMEPATH=\Documents' 'and' 'Settings\rds
> INCLUDE=C:\Prog
> ram' 'Files\Microsoft' 'Visual'
> 'Studio\DF98\IMSL\INCLUDE;C:\Program' 'Files\Mic
> rosoft' 'Visual' 'Studio\DF98\INCLUDE;C:\Program'
> 'Files\Microsoft' 'Visual' 'St
> udio\VC98\INCLUDE PROCESSOR_LEVEL=15 LIB=C:\Program' 'Files\Microsoft'
> 'Visual'
> 'Studio\DF98\IMSL\LIB;C:\Program' 'Files\Microsoft'
> 'Visual' 'Studio\DF98\LIB;C:
> \Program' 'Files\Microsoft' 'Visual' 'Studio\VC98\LIB
> LIBRARY_PATH=c:\mingw\msys
> \g95\lib LINK_F90=imsl.lib' 'imsls_err.lib' 'imslmpistub.lib
> LOGONSERVER=\\KANDU
>  STELP2=20060101_20160601_001125789b50_T
> NUMBER_OF_PROCESSORS=2 OS=Windows_NT PA
> THEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
> PROCESSOR_ARCHITECTURE=x8
> 6 PROCESSOR_IDENTIFIER=x86' 'Family' '15' 'Model' '4' 'Stepping' '1,'
> 'GenuineIn
> tel VNI_F90_MSG=C:\Program' 'Files\Microsoft' 'Visual'
> 'Studio\DF98\IMSL\MESSAGE
>  PROCESSOR_REVISION=0401 ProgramFiles=C:\Program' 'Files PROMPT=$P$G
> SESSIONNAME
> =Console STELP1=TELEMAC2D_32766_26624_T STELP3=aLWVDvw0H0MAQXTH_T
> SystemDrive=C:
>  SystemRoot=C:\WINDOWS TEMP=C:\DOCUME~1\rds\LOCALS~1\Temp
> TMP=C:\DOCUME~1\rds\LO
> CALS~1\Temp USERDNSDOMAIN=HRW-UK.LOCAL USERDOMAIN=HR USERNAME=rds
> USERPROFILE=C:
> \Documents' 'and' 'Settings\rds windir=C:\WINDOWS"
> JobNotification = 2
> WantRemoteIO = TRUE
> UserLog = "\\ice2\des0855\test\hello\log"
> CoreSize = 4830016
> Rank = 0.000000
> In = "/dev/null"
> TransferIn = FALSE
> Out = "stdout_err"
> StreamOut = FALSE
> Err = "stdout_err"
> StreamErr = FALSE
> BufferSize = 524288
> BufferBlockSize = 32768
> ShouldTransferFiles = "YES"
> WhenToTransferOutput = "ON_EXIT"
> TransferFiles = "ONEXIT"
> TransferInput = "hello.f90"
> ImageSize_RAW = 1
> ImageSize = 10000
> ExecutableSize_RAW = 1
> ExecutableSize = 10000
> DiskUsage_RAW = 2
> DiskUsage = 10000
> Requirements = ((HAS_TELEMAC_V5P5 =?= TRUE)) && (Arch == "INTEL") &&
(OpSys
> == "
> WINNT51") && (Disk >= DiskUsage) && ((Memory * 1024) >= ImageSize) &&
> (HasFileTr
> ansfer)
> JobLeaseDuration = 1200
> PeriodicHold = FALSE
> PeriodicRelease = FALSE
> PeriodicRemove = FALSE
> OnExitHold = FALSE
> OnExitRemove = TRUE
> LeaveJobInQueue = FALSE
> Arguments = ""
> GlobalJobId = "xxx.xxx.xxx#1187365477#118.0"
> ProcId = 0
> AutoClusterId = 1
> AutoClusterAttrs =
> "JobUniverse,LastCheckpointPlatform,NumCkpts,RemoteUser,owner
> ,DiskUsage,ImageSize,Requirements,NiceUser"
> WantMatchDiagnostics = TRUE
> LastMatchTime = 1187365477
> NumJobMatches = 1
> OrigMaxHosts = 1
> JobStatus = 2
> EnteredCurrentStatus = 1187365479
> LastSuspensionTime = 0
> CurrentHosts = 1
> PublicClaimId = "<192.xxx.xxx.xxx:4432>#1187277326#52#..."
> LastJobLeaseRenewal = 1187365481
> RemoteHost = "vm1@xxxxxxxxxxx"
> RemoteVirtualMachineID = 1
> ShadowBday = 1187365481
> JobStartDate = 1187365481
> JobCurrentStartDate = 1187365481
> JobRunCount = 1
> ServerTime = 1187365483
>
>
>
> Rob Stevenson
>
> IS Services
>
> HR Wallingford
> Howbery Park, Wallingford, Oxfordshire OX10 8BA, United Kingdom
> e:  r.stevenson@xxxxxxxxxxxxxxxxxxx
> t:  +44 (0)1491 822472 (direct), +44 (0)1491 835381 (switchboard)
> f:  +44 (0)1491 832233 (general)
> www.hrwallingford.co.uk
>
>
> **********************************************************************
>  HR Wallingford uses Faxes and Emails for confidential and
>  legally privileged business communications. They do not of
>  themselves create legal commitments. Disclosure to parties
>  other than addressees requires our specific consent. We are
>  not liable for unauthorised disclosures nor reliance upon them.
>  If you have received this message in error please advise us
>  immediately and destroy all copies of it.
>
>  HR Wallingford Limited
>  Howbery Park, Wallingford, Oxon, OX10 8BA
>
>  HR Wallingford Limited is a company registered in:
>  Companies House, Cardiff, Crownway, Maindy CF14 3UZ
>  Company No. 02562099 VAT No. GB 570 039 752
> **********************************************************************
>
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to
> condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/
>
>
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with
a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at: 
https://lists.cs.wisc.edu/archive/condor-users/


This message has been scanned for viruses by MailControl -
www.mailcontrol.com



Clickhttps://www.mailcontrol.com/sr/XJSIWc7jLGEGB8skhWoi9Vn9Ayx3zVEVKJnk
nmAaqQaCQ4abUbc!jjxYEYx26LOP223Id34eVzj51iDSxyvuMnYlF3vJD0UdHhUnBth0V8Pe
zMiyR3BpSXDRTOIsEJokBgMY3528hakFqvS7ViA71sLvYuANbvyQrbdW8Oyhg4tbnoxwNll!
1CdFI8mitwloipEVtBQxXEFYSStxfEnKUCl1jpaPNlJ6 to report this email as
spam.