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

[HTCondor-users] condor_compile



Sysadmin here with a gfortran problem, there is probably an easy answer I'm hoping someone will point me to.

I can compile the code using gfortran:
-bash-4.1$ gfortran critical_L60.f90 
-bash-4.1$ ldd a.out 
        linux-vdso.so.1 =>  (0x00007fff48bff000)
        libgfortran.so.3 => /usr/lib64/libgfortran.so.3 (0x00007ff225c74000)
        libm.so.6 => /lib64/libm.so.6 (0x00007ff2259f0000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007ff2257d9000)
        libc.so.6 => /lib64/libc.so.6 (0x00007ff225445000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ff225f73000)



When I use condor_compile though... it appears gfortran is not finding needed library(s)

-bash-4.1$ condor_compile gfortran critical_L60.f90 
LINKING FOR CONDOR : /usr/bin/ld -L/usr/lib64/condor -Bstatic --eh-frame-hdr --build-id -m elf_x86_64 --hash-style=gnu /usr/lib64/condor/condor_rt0.o /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.4.7/crtbeginT.o -L/usr/lib64/condor -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../.. /tmp/ccq2HlLV.o /usr/lib64/condor/libcondorsyscall.a /usr/lib64/condor/libcondor_z.a /usr/lib64/condor/libcomp_libstdc++.a -lgfortranbegin -lgfortran -lm /usr/lib64/condor/libcomp_libgcc.a /usr/lib64/condor/libcomp_libgcc_eh.a -lcondor_c -lcondor_nss_files -lcondor_nss_dns -lcondor_resolv -lcondor_c -lcondor_nss_files -lcondor_nss_dns -lcondor_resolv -lcondor_c /usr/lib64/condor/libcomp_libgcc.a /usr/lib64/condor/libcomp_libgcc_eh.a /usr/lib/gcc/x86_64-redhat-linux/4.4.7/crtend.o /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crtn.o
/usr/bin/ld: cannot find -lm
collect2: ld returned 1 exit status


Suggestions?

Thanks,
Don
FS RCC