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

[condor-users] jobs not working in standalone universe



Peter Keller,

As you previously suggested.... here is the output from the commands you
suggested I run:

condor_compile gcc -v -g -Wall hello.C hello.remote
[bob@one condor_examples]$ condor_compile gcc -v -g -Wall hello.C
hello.remote
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)
 /usr/lib/gcc-lib/i386-redhat-linux/2.96/cpp0 -lang-c++ -D__GNUG__=2
-D__EXCEPTIONS -v -isystem /usr/local/condor/lib/include -D__GNUC__=2
-D__GNUC_MINOR__=96 -D__GNUC_PATCHLEVEL__=0 -D__ELF__ -Dunix -Dlinux
-D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem(posix)
-D__NO_INLINE__ -Wall -Acpu(i386) -Amachine(i386) -Di386 -D__i386
-D__i386__ -D__tune_i386__ hello.C /tmp/ccnVFogX.ii
GNU CPP version 2.96 20000731 (Red Hat Linux 7.3 2.96-110) (cpplib) (i386
Linux/ELF)
ignoring nonexistent directory "/usr/local/condor/lib/include"
ignoring nonexistent directory "/usr/i386-redhat-linux/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/include/g++-3
 /usr/local/include
 /usr/lib/gcc-lib/i386-redhat-linux/2.96/include
 /usr/include
End of search list.
 /usr/lib/gcc-lib/i386-redhat-linux/2.96/cc1plus /tmp/ccnVFogX.ii -quiet
-dumpbase hello.C -g -Wall -version -o /tmp/ccXddlSc.s
GNU C++ version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)
(i386-redhat-linux) compiled by GNU C version 2.96 20000731 (Red Hat Linux
7.3 2.96-110).
hello.C:4: warning: ISO C++ forbids declaration of `main' with no type
 as -V -Qy -o /tmp/ccGyFXYY.o /tmp/ccXddlSc.s
GNU assembler version 2.11.93.0.2 (i386-redhat-linux) using BFD version
2.11.93.0.2 20020207
 /usr/lib/gcc-lib/i386-redhat-linux/2.96/collect2 -m elf_i386
-dynamic-linker /lib/ld-linux.so.2
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crti.o
/usr/lib/gcc-lib/i386-redhat-linux/2.96/crtbegin.o
-L/usr/local/condor/lib -L/usr/lib/gcc-lib/i386-redhat-linux/2.96
-L/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../.. /tmp/ccGyFXYY.o
hello.remote -lgcc -lc -lgcc
/usr/lib/gcc-lib/i386-redhat-linux/2.96/crtend.o
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crtn.o
LINKING FOR CONDOR : /usr/bin/ld -L/usr/local/condor/lib -Bstatic -m
elf_i386 -dynamic-linker /lib/ld-linux.so.2
/usr/local/condor/lib/condor_rt0.o
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crti.o
/usr/lib/gcc-lib/i386-redhat-linux/2.96/crtbegin.o -L/usr/local/condor/lib
-L/usr/lib/gcc-lib/i386-redhat-linux/2.96
-L/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../.. /tmp/ccGyFXYY.o
hello.remote /usr/local/condor/lib/libcondorzsyscall.a
/usr/local/condor/lib/libz.a -lgcc -lc -lnss_files -lnss_dns -lresolv -lc
-lnss_files -lnss_dns -lresolv -lc -lgcc
/usr/lib/gcc-lib/i386-redhat-linux/2.96/crtend.o
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crtn.o
/usr/local/condor/lib/libcondorc++support.a
hello.remote: In function `__moddi3':
/usr/src/build/87732-i386/BUILD/gcc-2.96-20000731/obj-i386-redhat-linux/gcc/../../gcc/libgcc2.c(.rodata+0x0):
multiple definition of `_fp_hw'
/usr/local/condor/lib/condor_rt0.o(.rodata+0x0): first defined here
hello.remote: In function `__moddi3':
/usr/src/build/87732-i386/BUILD/gcc-2.96-20000731/obj-i386-redhat-linux/gcc/../../gcc/libgcc2.c(.data+0x4):
multiple definition of `__dso_handle'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/crtbegin.o(.data+0x0): first
defined here
hello.remote: In function `_init':
hello.remote(.init+0x0): multiple definition of `_init'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crti.o(.init+0x0): first
defined here
hello.remote: In function `_start':
hello.remote(.text+0x0): multiple definition of `_start'
/usr/local/condor/lib/condor_rt0.o(.text+0x0): first defined here
hello.remote(.text+0x100):/usr/src/build/40453-i386/BUILD/glibc-2.2.4/csu/init.c:
multiple definition of `main'
/tmp/ccGyFXYY.o:/home/bob/condor_examples/hello.C:4: first defined here
/usr/bin/ld: Warning: size of symbol `main' changed from 29 to 23 in
hello.remote
hello.remote: In function `__moddi3':
/usr/src/build/87732-i386/BUILD/gcc-2.96-20000731/obj-i386-redhat-linux/gcc/../../gcc/libgcc2.c(.fini+0x0):
multiple definition of `_fini'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crti.o(.fini+0x0): first
defined here
hello.remote: In function `__moddi3':
/usr/src/build/87732-i386/BUILD/gcc-2.96-20000731/obj-i386-redhat-linux/gcc/../../gcc/libgcc2.c(.got+0x0):
multiple definition of `_GLOBAL_OFFSET_TABLE_'
/usr/local/condor/lib/condor_rt0.o(.got.plt+0x0): first defined here
hello.remote: In function `__moddi3':
/usr/src/build/87732-i386/BUILD/gcc-2.96-20000731/obj-i386-redhat-linux/gcc/../../gcc/libgcc2.c(.rodata+0x4):
multiple definition of `_IO_stdin_used'
/usr/local/condor/lib/condor_rt0.o(.rodata+0x4): first defined here
hello.remote: In function `__moddi3':
/usr/src/build/87732-i386/BUILD/gcc-2.96-20000731/obj-i386-redhat-linux/gcc/../../gcc/libgcc2.c(.data+0x0):
multiple definition of `__data_start'
/usr/local/condor/lib/condor_rt0.o(.data+0x0): first defined here
collect2: ld returned 1 exit status
gcc: file path prefix `/usr/local/condor/lib/' never used
[bob@one condor_examples]$

This shows that i am using redhat 7.3 with version 2.96 of gcc, so I don't
understand why the condor logs are saying that I am using redhat 72. The
condor file I downloaded said it was for redhat 7.1 7.2 and 7.3.

I downloaded the statically linked version of condor for
Linux 2.4.x (glibc 2.2) - Red Hat 7.1, 7.2, 7.3

Anyway... here is the output from hello.remote after being condor_compiled:
[bob@one condor_examples]$ ./hello.remote
Illegal instruction

The output from gdb:
(gdb) r
Starting program: /home/bob/condor_examples/hello.remote

Program received signal SIGILL, Illegal instruction.
0x080be492 in strcmp () at strcmp:-1
-1      strcmp: No such file or directory.
        in strcmp
(gdb)


So there we go.... I'm still no closer to understanding why it is not
working.

I hope you can shed some more light on the situation Peter.

Thanks again,
Leighton.



----- Original Message -----
From: "Peter Keller" <psilord@xxxxxxxxxxx>
To: <condor-users@xxxxxxxxxxx>
Sent: Friday, February 27, 2004 4:30 AM
Subject: Re: [condor-users] jobs not working in standard universe


> On Thu, Feb 26, 2004 at 03:05:31PM +1100, bob@xxxxxxxxxxx wrote:
> > Hey Guys,
> >
> > I hav a basic program that all it does is print "Hello World!". It works
> > fine if I submit it to the vanilla universe, but when I compile it with
> > condor compile and submit it to the standard universe it doesn't work.
> >
> > After I have compiled it with condor_compile, if I try and run it stand
> > alone (not submit it to condor) it gives me an "Illegal Instruction"
error
> > message and that is it.
> >
> > If I submit it to condor, it gets farmed out to a node in my pool, but
> > dies straight away.
>
> The daemons say that you are using the redhat 72 version of Condor. Are
> you on redhat 72 machines using the gcc/g++/g77 2.96 compiler to produce
> your executables?
>
> If you could:
>
> condor_compile gcc -v -g -Wall yourprogram.c -o yourprogram
>
> and then:
>
> ./yourprogram
>
> Now, if you get an illegal instruction error, then:
>
> gdb ./yourprogram
> (gdb) r
>
> <output detailing the illegal instruction>
>
> (gdb) quit
>
> and then send to this list the output of all of the programs you just ran.
>
> Thanks.
>
> -pete
> Condor Support Information:
> http://www.cs.wisc.edu/condor/condor-support/
> To Unsubscribe, send mail to majordomo@xxxxxxxxxxx with
> unsubscribe condor-users <your_email_address>
>
>


Condor Support Information:
http://www.cs.wisc.edu/condor/condor-support/
To Unsubscribe, send mail to majordomo@xxxxxxxxxxx with
unsubscribe condor-users <your_email_address>