many thanks, I'm coming forward.. ! 

At the moment I found the correct combination, which is

Solaris Studio 12.1

and either one of these

SGE6.2u5p2
GE2011.11
GE2011.11p1


the first 2 cmd's work finally 

# ./aimk -no-java -no-jni -no-secure -spool-classic -no-dump -only-depend
# ./scripts/zerodepend

but now I debugging

# ./aimk -no-java -no-jni -no-secure -spool-classic -no-dump depend
HWLOC_DIRECTORY: Undefined variable
# 

# ls 3rdparty/hwloc/
hwloc-1.2.2

any ideas ?

Bye Nick


-----Ursprüngliche Nachricht-----
Von: Dieter Ruppert [mailto:[email protected]] 
Gesendet: Freitag, 01. August 2014 09:38
An: Kraus, Niki
Cc: [email protected]
Betreff: Re: compiling (Solaris 10 x86) : make: Fatal error: Command failed for 
target `lstopo-lstopo-draw.o'


Hi,


>
> do you still have your own Readme about
>

I have only a few handwritten notes, but I don't recall any real difficulties.
The main points, aside from those I already mentioned:

- the switch "-gcc" did not work. aimk insists on invoking "cc", so I used
   Sun Studio 12 (the original version, at that time) and created a symbolic
   link "cc" in a directory which is in my path which points to the C compiler
   from the Sun Studio 12 compiler. I don't remember if a C++ compiler was
   needed too; if so, a symbolic link "CC" would have to be created too.

- I used gtar to unpack the distribution; there was some error message with
   Solaris tar; maybe a long pathname.

- I tweaked the assignment to OFLAGS in aimk; this uses "-fast -xchip=generic 
-xcache=generic".
   I changed this to "-g" for a start; this disables optimization and enables 
line numbers
   in corefiles.

All this worked for Solaris 10 on x86 and Sparc (with two Sun Studio 
Installations, for x86 and Sparc).


> - which Solaris Studio Release you have used?
> current is 12.3 but that may be too new for SGE 6.2u5p2

see above, but I would simply go ahead and try 12.3.


> Or may current GE2011.11p1 be a better combination?

I can't comment on this; I have not tried this.

>
> - about whether SUNWgcc, SUNWgccruntime may co-exist ?
>
> - about order in PATH settings
> I know that this may play an important role


This should not be a problem. The GNU compilers are gcc, g++ etc., while the 
Solaris Studio compilers come as cc,CC etc. Just install Solaris Studio 12.3 
somewhere and make sure that issuing "cc" and "CC" invoke the compilers from 
this installation.

Regards
Dieter Ruppert

----------------------------------
Siemens AG
Industry Sector
Drive Technologies Division
Motion Control Systems
Research and Development
I DT MC R&D SDC 6
Benzstr. 1
71272 Renningen, Deutschland

_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to