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

Re: [Condor-users] condor_compile a shell script



Can I ask why you'd like to condor_compile your shell script - if it is
just to make sure that your job doesn't restart from the beginning, you
could consider doing some sort of "application aware checkpointing".
For instance, have your shell script write a counter to a log file and
start from that point if it is restarted.

Good luck,
-- 
Rajesh Rajamani
Senior Member of Technical Staff
Direct : +1.408.321.9000
Fax    : +1.408.321.9030
Mobile : +1.650.218.9131
raj@xxxxxxxxxx


Optena Corporation
2860 Zanker Road, Suite 201
San Jose, CA 95134
www.optena.com


This electronic transmission (and any attached documents) contains
information from Optena Corporation and is for the sole use of the
individual or entity it is addressed to. If you receive this message in
error, please notify me and destroy the attached message (and all
attached documents) immediately.

Li-Yung Ho wrote:
> On Thu, 4 Aug 2005 09:23:14 -0400, Ian Chesal wrote
> 
>>>I condor_compile a bash script ( sh_loop in example ) but it said
>>>"Internal
>>>ld was not invoked"
>>>
>>>I have fully installed condor compile (change ld to condor ld) and
>>
>>read
>>
>>>the
>>>FAQ - "When I use condor_ compile to produce a job, I get an error
>>
>>that
>>
>>>says, "Internal ld was not invoked!". What does this mean?"
>>>but it doesn't mention about the error with shell script ...
>>>So, does anyone have the experience about condor_compiling  a shell
>>
>>script
>>
>>You cannot compile a shell script with condor_compile. See:
>>
>>http://www.cs.wisc.edu/condor/manual/v6.7/condor_compile.html
>>
>>You can use condor_compile with the following compilers:
>>
>>gcc, g++, g77, cc, acc, c89, CC, f77, fort77, ld, pgcc, pgf77, pgf90,
>> or pghpf
>>
>>So you have to write in a language supported by one of those compilers.
>>None of them support bash.
>>
>>To use the sh_loop example simply type:
>>
>>	condor_submit sh_loop.cmd
>>
>>You'll need to have bash in your path on your startd node for the
>>sh_loop script to execute properly.
>>
>>- Ian
>>
>>_______________________________________________
>>Condor-users mailing list
>>Condor-users@xxxxxxxxxxx
>>https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> 
> 
> Thanks Ian
> 
> But I read the following in 
> http://www.cs.wisc.edu/condor/manual/v6.7/condor_compile.html
> 
> "
> If the Condor administrator has opted to fully install condor_ compile, then 
> condor_ compile can be followed by practically any command or program, 
> including make or shell-script programs. For example, the following would 
> all work: 
> 
>         condor_compile make 
> 
>         condor_compile make install 
> 
>         condor_compile f77 -O mysolver.f 
> 
>         condor_compile /bin/csh compile-me-shellscript
> 
> "
> 
> Doesn't it mean that I can condor_compile shell script ?? 
> 
> 
> Best regards
> 
> 
> 
> 
> 
> _______________________________________________
> Condor-users mailing list
> Condor-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>