Problems installing xcpu on Ubuntu

11 views
Skip to first unread message

Nikhil

unread,
Apr 10, 2010, 12:14:00 AM4/10/10
to xcpu mailing list
Hi,
I am trying to setup xcpu2 on two machines (both Ubuntu 9.04). There
are two issues that I am facing:
----------------
FIRST ISSUE:
----------------
I checked-out from svn repo:
svn co https://xcpu.svn.sourceforge.net/svnroot/xcpu/xcpu2/trunk xcpu2
Then did 'make' and got following error.

+++++++++
make[1]: Entering directory `/home/nmittal/sandbox/xcpu2/statfs'
cc -Wall -g -I ../include -I../npfs/include -DSYSNAME=Linux -c
statfs.c
statfs.c: In function ‘nodeconnect’:
statfs.c:149: warning: passing argument 2 of ‘npc_netmount’ makes
integer from pointer without a cast
statfs.c:149: warning: passing argument 3 of ‘npc_netmount’ makes
pointer from integer without a cast
statfs.c:149: warning: passing argument 4 of ‘npc_netmount’ makes
integer from pointer without a cast
statfs.c:149: warning: passing argument 5 of ‘npc_netmount’ from
incompatible pointer type
statfs.c:149: error: too few arguments to function ‘npc_netmount’
make[1]: *** [statfs.o] Error 1
make[1]: Leaving directory `/home/nmittal/sandbox/xcpu2/statfs'
make: *** [binaries] Error 2
+++++++++
I made a temporary fix by passing arg 'n' in 'node_netmount' (and
setting n = 2).

-----------------------
SECOND ISSUE:
----------------------
I am following the instructions on this page:
http://sourceforge.net/apps/mediawiki/xcpu/index.php?title=Xcpu2-build

I am assuming following instructions are meant to be executed on
remote node:
<cut-paste>
++++++++++++++++++++++++++++++++++++++++
To setup just the compute node (back-end server)

% mkdir /mnt/xcpu

% modprobe 9p
% xcpufs &
+++++++++++++++++++++++++++++++++++++++++

Then on front-end node, following command fails with error:
"xp_user_add: 192.168.1.102: Error 5: unknown user"

sudo xuserset add <each_back_end_server> <username> <uid> <username>
~<username>/.ssh/id_rsa.pub

where 'username' is the username I am using for login into the remote
machine.

NOTE: command "sudo xgroupset add <each_back_end_server> <username>
<uid>" worked fine !!

I am suspecting issues due to permissions or if this is another
issue ?
Any suggestions ?

- Nikhil

Reply all
Reply to author
Forward
0 new messages