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

Re: [condor-users] Condor_compile in Condor-6.6.3 and Linux Enterprise problem?



Mensaje citado por Erik Paulson <epaulson@xxxxxxxxxxx>:

> On Wed, May 12, 2004 at 07:57:33PM +0100, angelv@xxxxxx wrote:
> > Hi,
> > 
> > has anyone succeeded using condor_compile in a Linux Enterprise with
> > Condor-6.6.3 (condor-6.6.3-linux-x86-glibc23-dynamic.tar.gz)?
> > 
> > I have a simple hello_world program in C, and I compile it with 
> > condor_compile gcc -o hello_world_std hello_world.c
> > 
> > It takes ages and then the resulting executable is 12MB in size. I assume
> > something wrong is going on, but no idea what.
> > 
> > Any clues?
> > 
> 
> 
> From what's below, it actually looks like it works.
> 
> You should be able to run hello_world_std at the commandline 
> and see some additional info from the condor syscall library about
> checkpointing to hello_world_std.ckpt
> 
> -Erik
> 

Well, yes, somehow it seems to be working. If I run it at the commandline I get


[angelv@codorniz Tests_Standard_Universe]$ ./hello_world_std
Condor: Notice: Will checkpoint to ./hello_world_std.ckpt
Condor: Notice: Remote system calls disabled.
Hola desde Hello World programado en C.
[angelv@codorniz Tests_Standard_Universe]$ 



but the not-condor-linked compiled version is 4KB and the condor-compiled one is
12MB. Am I to assume that this is normal behaviour of condor_compile?

-rwxr-xr-x    1 angelv   games        4736 may 13 08:59 hello_world
-rw-r--r--    1 angelv   games         128 may 12 19:14 hello_world.c
-rwxr-xr-x    1 angelv   games    12327297 may 12 19:20 hello_world_std


Thanks,
Angel de Vicente




> > Thanks,
> > Angel de Vicente
> > 
> > =============
> > 
> > The program is:
> > 
> > [angelv@codorniz Tests_Standard_Universe]$ less hello_world.c
> > #include <stdio.h>
> > 
> > int main (int argc, char *argv[])
> > {
> >    printf("Hola desde Hello World programado en C.\n");
> > 
> >    return 0;
> > }
> > 
> > 
> > After compilation I get:
> > 
> > [angelv@codorniz Tests_Standard_Universe]$
> > /usr/pkg/condor/condor-6.6.3/bin/condor_compile gcc -o hello_world_std
> > hello_world.c
> > LINKING FOR CONDOR : /usr/bin/ld -L/usr/pkg/condor/condor-6.6.3/lib
> -Bstatic
> > --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o
> > hello_world_std /usr/pkg/condor/condor-6.6.3/lib/condor_rt0.o
> > /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../crti.o
> > /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/crtbeginT.o
> > -L/usr/pkg/condor/condor-6.6.3/lib
> -L/usr/lib/gcc-lib/i386-redhat-linux/3.2.3
> > -L/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../.. /tmp/ccKO4uiS.o
> > /usr/pkg/condor/condor-6.6.3/lib/libcondorzsyscall.a
> > /usr/pkg/condor/condor-6.6.3/lib/libz.a
> > /usr/pkg/condor/condor-6.6.3/lib/libcomp_libstdc++.a
> > /usr/pkg/condor/condor-6.6.3/lib/libcomp_libgcc.a
> > /usr/pkg/condor/condor-6.6.3/lib/libcomp_libgcc_eh.a
> > /usr/pkg/condor/condor-6.6.3/lib/libcomp_libgcc_eh.a -lc -lnss_files
> -lnss_dns
> > -lresolv -lc -lnss_files -lnss_dns -lresolv -lc
> > /usr/pkg/condor/condor-6.6.3/lib/libcomp_libgcc.a
> > /usr/pkg/condor/condor-6.6.3/lib/libcomp_libgcc_eh.a
> > /usr/pkg/condor/condor-6.6.3/lib/libcomp_libgcc_eh.a
> > /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/crtend.o
> > /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../crtn.o
> >
>
/usr/pkg/condor/condor-6.6.3/lib/libcondorzsyscall.a(condor_file_agent.o)(.text+0x250):
> > In function `CondorFileAgent::open(char const*, int, int)':
> > /home/condor/execute/dir_22897/src/condor_ckpt/condor_file_agent.C:99: the
> use
> > of `tmpnam' is dangerous, better use `mkstemp'
> > [angelv@codorniz Tests_Standard_Universe]$ 
> > 
> 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>
> 
> 




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
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>