Hi Reuti,

This looks a lot easier, I use this method I think.

Thanks

Tom.

On 01/08/2011 14:21, Reuti wrote:
Hi,

Am 01.08.2011 um 14:44 schrieb Thomas Jones:

Hi all,

I'm trying to compile SSH with our version of grid engine (62u3), to implement 
tight SSH integration, but I'm getting compile errors. This is what I've done, 
following the instructions I found at:
question: do you want to use this integration because of any specific reason, 
or would putting it into the PAM of the nodes also be sufficient?

It's much more easier to setup:

http://arc.liv.ac.uk/SGE/htmlman/htmlman5/remote_startup.html near the end "SSH 
TIGHT INTEGRATION".

The module you can find here: 
https://arc.liv.ac.uk/trac/SGE/browser/sge/source/3rdparty/sge-sshd-control

-- Reuti


https://newton.utk.edu/bin/view/Main/GridEngineTightSshIntegration

Got the source RPM's with our version of ssh we are running and obtained the 
source code:

Got the version of grid engine we are running using git. Copied the openssh 
source to sge/source/3rdparty. with the required lines added to sshd.c and 
session.c

Than ran the following commands in sge/source:

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

The last command results in the following error, which I don't think has 
anything to do with openssh?

[root@iseisd-ws176 source]# ./aimk -no-java -no-secure -spool-classic -no-jni
error: couldn't find  /vol2/tools/SW/libcore/lx26-amd64/libcore.so
error: please
error: (a) get you a libcore.so for lx26-amd64 from
error: http://gridengine.sunsource.net/issues/show_bug.cgi?id=2552
error: update CORE_HOME in aimk.site or aimk.private accordingly
error: (b) use aimk option -no-dump to build without libcore.so
[root@iseisd-ws176 source]# ./aimk -no-java -no-secure -spool-classic -no-jni 
-no-dump
Building in directory: /root/sge/source
making in LINUXAMD64_26/ for LINUXAMD64 at host iseisd-ws176.is-eisd.ucl.ac.uk
_________3_r_d_p_a_r_t_y__J_E_M_A_L_L_O_C_
make: Nothing to be done for `jemalloclib'.
_________C_O_R_E__S_Y_S_T_E_M_____________
gcc -DSGE_ARCH_STRING=\"lx26-amd64\" -O3 -Wall -Werror -Wstrict-prototypes 
-DUSE_POLL -DLINUX -DLINUXAMD64 -DLINUXAMD64_26 -D_GNU_SOURCE -DGETHOSTBYNAME_R6 
-DGETHOSTBYADDR_R8  -I/off_home/gridengine/db-4.4.20/lx26-amd64/include/ -DTARGET_64BIT  
-DSPOOLING_classic  -Wno-strict-aliasing -DNO_JNI -DCOMPILE_DC 
-D__SGE_COMPILE_WITH_GETTEXT__  -D__SGE_NO_USERMAPPING__ -I../common -I../libs 
-I../libs/uti -I../libs/juti -I../libs/gdi -I../libs/japi -I../libs/sgeobj -I../libs/cull 
-I../libs/rmon -I../libs/comm -I../libs/comm/lists -I../libs/sched -I../libs/evc 
-I../libs/evm -I../libs/mir -I../libs/lck -I../daemons/common -I../daemons/qmaster 
-I../daemons/execd -I../daemons/schedd -I../clients/common -I. -c 
../libs/cull/test_cull_hash.c
cc1: warnings being treated as errors
../libs/cull/test_cull_hash.c: In function ‘do_test’:
../libs/cull/test_cull_hash.c:190: warning: passing argument 1 of ‘lFreeList’ 
from incompatible pointer type
../libs/cull/test_cull_hash.c:190: error: void value not ignored as it ought to 
be
../libs/cull/test_cull_hash.c:261: warning: passing argument 2 of ‘lRemoveElem’ 
from incompatible pointer type
../libs/cull/test_cull_hash.c:279: warning: passing argument 2 of ‘lRemoveElem’ 
from incompatible pointer type
../libs/cull/test_cull_hash.c:308: warning: passing argument 1 of ‘lFreeList’ 
from incompatible pointer type
make: *** [test_cull_hash.o] Error 1
not done
[root@iseisd-ws176 source]#

As anyone got any suggestions?

Regards
Thomas.

--
Data Centre Services
Information Services Division
University College London
Central House
14 Upper Woburn Place
London
WC1H 0NN

phone: +44 20 3108 9859
internal-phone: 59859

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



--
Data Centre Services
Information Services Division
University College London
Central House
14 Upper Woburn Place
London
WC1H 0NN

phone: +44 20 3108 9859
internal-phone: 59859

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

Reply via email to