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

[Condor-users] Standard Universe and Fortran90 ???



Hi,

given that current support for the Standard Universe does not support "out of the box" Fortran90 compilers in Linux, I decided to give a try to the "Full installation of condor_compile" as per the instructions in
http://www.cs.wisc.edu/condor/manual/v7.0/3_12Setting_Up.html#SECTION004123000000000000000

But I cannot manage to compile a code with it. It seems that it gets stuck in the linking step.

Without condor_compile, there are no problems:

[angelv@tuno bin]$ ifort -o simulator ../src/simulator_module.f90 ../src/simulator.f90

But when adding condor_compile ...

[angelv@tuno bin]$ condor_compile ifort -o simulator ../src/simulator_module.f90 ../src/simulator.f90 LINKING FOR CONDOR : /usr/bin/ld.real -L/usr/pkg/condor/condor/lib -Bstatic /usr/pkg/condor/condor/lib/condor_rt0.o /usr/lib/gcc/i386-redhat-linux/3.4.5/../../../crti.o /usr/lib/gcc/i386-redhat-linux/3.4.5/crtbeginT.o --eh-frame-hdr -dynamic-linker /lib/ld-linux.so.2 -m elf_i386 -o simulator /usr/pkg/fortran90/intel/fc/10.0.025/lib/for_main.o /tmp/iforttOO0ne.o /tmp/ifortBxT1yL.o -L/usr/pkg/fortran90/intel/fc/10.0.025/lib -L/usr/lib/gcc/i386-redhat-linux/3.4.5/ -L/usr/lib/gcc/i386-redhat-linux/3.4.5/../../../ -Bstatic -lifport -lifcore -limf -Bdynamic -lm -Bstatic -lipgo -lirc -Bdynamic /usr/pkg/condor/condor/lib/libcondorzsyscall.a /usr/pkg/condor/condor/lib/libcondor_z.a /usr/pkg/condor/condor/lib/libcomp_libstdc++.a /usr/pkg/condor/condor/lib/libcomp_libgcc.a /usr/pkg/condor/condor/lib/libcomp_libgcc_eh.a -Bstatic -lirc_s -Bdynamic -ldl -lcondor_c -lcondor_nss_files -lcondor_nss_dns -lcondor_resolv -lcondor_c -lcondor_nss_files -lcondor_nss_dns -lcondor_resolv -lcondor_c /usr/lib/gcc/i386-redhat-linux/3.4.5/crtend.o /usr/lib/gcc/i386-redhat-linux/3.4.5/../../../crtn.o /usr/pkg/condor/condor/lib/libcondorzsyscall.a(condor_file_agent.o)(.text+0x35d): En la función `CondorFileAgent::open(char const*, int, int)': /home/condor/execute/dir_21854/userdir/src/condor_ckpt/condor_file_agent.C:106: warning: the use of `tmpnam' is dangerous, better use `mkstemp' /usr/pkg/condor/condor/lib/libcondorzsyscall.a(switches.o)(.text+0x618d): En la función `__gets_chk': /home/condor/execute/dir_21854/userdir/src/condor_syscall_lib/switches.remap-LINUX.h:460: warning: the `gets' function is dangerous and should not be used. /usr/pkg/condor/condor/lib/libcondor_c.a(fork.o)(.text+0x0): En la función `__libc_fork': ../linuxthreads/sysdeps/unix/sysv/linux/fork.c:38: definiciones múltiples de `__libc_fork' /usr/pkg/condor/condor/lib/libcondorzsyscall.a(switches.o)(.text+0x5788):/home/condor/execute/dir_21854/userdir/src/condor_syscall_lib/switches.remap-LINUX.h:157: primero se definió aquí /usr/bin/ld.real: Warning: size of symbol `__libc_fork' changed from 13 in /usr/pkg/condor/condor/lib/libcondorzsyscall.a(switches.o) to 72 in /usr/pkg/condor/condor/lib/libcondor_c.a(fork.o)

[angelv@tuno bin]$ ls -lt
total 5024
-rw-r--r--  1 angelv other    9820 jun 17 15:16 simulator_module.mod
-rw-r--r--  1 angelv other   12300 jun 17 15:13 simulator.o
-rw-r--r--  1 angelv other   26648 jun 17 15:13 simulator_module.o
[angelv@tuno bin]$

Any idea what could be happening or whether this is not possible at all with Condor as it is now?

If it is not possible right now, is there any plan to add gfortran support for the Standard Universe in future releases?

Thanks,
Ángel de Vicente
--
----------------------------------
http://www.iac.es/galeria/angelv/

PostDoc Software Support
Instituto de Astrofísica de Canarias