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

Re: [Condor-users] condor_compile and ifort



Condor does not support linking of the standard universe library using
the Intel compilers, that is, you cannot invoke ifort or icc using the
condor_compile script.  So use ifort to compile a statically linked
executable binary as you normally would, and submit the job as a
vanilla universe job.  If you need checkpoint capabilities, you will
have to write your own code and add it to your program, e.g., have the
program regularly dump a data file that can be used to restart the job,
and at the beginning of the program use the inquire() Fortran statement
to test the existence of the restart data file to decide whether to read
the restart file or to read/use the initial data set.

I recall that the Condor standard universe is not compatible with the
threaded libraries that icc/ifort automatically include upon linking,
namely libpthread.a from glibc and libguide.a from Intel, and probably
the Intel standard math library and math kernel library as well.  The
checkpointing facility provided by Condor cannot checkpoint threaded
code.

On Tue, 27 Dec 2005, Nicolas GUIOT wrote:

From: Nicolas GUIOT <nicolas.guiot@xxxxxxx>
To: Philipp Kolmann <kolmann@xxxxxxxxxxxxxxxx>
Subject: Re: [Condor-users] condor_compile and ifort
Date: Tue, 27 Dec 2005 14:55:11 +0100
X-Mailer: Sylpheed-Claws 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu)

(I'm sending this answer to everyone, with luck, maybe can someone help...)

Well, actually no : I had a few zillion errors, and I have absolutely no idea on how to correct these.
If someone can help me, would be greatly appreciated...

For info : /ibpc/io/condor is condor home, and I don't know why it's talking of "/home/condor/execute..." : it's not defined anywhere, doesn't even exist...

In fact, I'm not even sure it's possible to compile with the intel fortran compiler for condor, but I was trying, just in case of...

[output deleted]

Bye
Nicolas


----------------
On Fri, 23 Dec 2005 19:49:14 +0100
Philipp Kolmann <kolmann@xxxxxxxxxxxxxxxx> wrote:

bon soir,

did you get your fortran program to compile with condor_compile?
I have problems with achieving this.

thanks
philipp

On Fri, Dec 23, 2005 at 04:14:01PM +0100, Nicolas GUIOT wrote:
Sorry : finally found it :

just replace /usr/bin/ld with the one furnished by condor (Who said "as stated in the doc" ?):
       mv /[ld-path]/ld /[ld-path]/ld.real
        cp /usr/local/condor/lib/ld /[ld-path]/ld
        chown root /[ld-path]/ld
        chmod 755 /[ld-path]/ld

Bye
Nicolas

--
Mr. De-Wei Yin, MASc, PEng
Dept of Chemical & Biological Engineering tel: +1 608 262-3370
University of Wisconsin-Madison           fax: +1 608 262-5434
1415 Engineering Drive                    dyin at cae dot wisc dot edu
Madison WI 53706-1691 USA                 www.engr.wisc.edu/groups/mtsm/