EGO issue in IBM SCF CE


[root@pcmce-co68 ~]# egosh resource list
Cannot get host info. Not logged on.

Log in to egosh shell (one time only). Default user and password is Admin.

[root@pcmce-co68 ~]# egosh user logon
user account: Admin
Logged on successfully
[root@pcmce-co68 ~]# egosh resource list
NAME status mem swp tmp ut it pg r1m r15s r15m ls
pcmce-c* ok 827M 1516M 69G 7% 258 3.1 0.2 3.3 0.7 1


Disable Serial Console Redirection in xCAT

PXE boot config:

"... console=tty0 console=ttyS0,115200 ..."

Note: serial console redirection is managed by hardware profile.

To check hardware profile:

$ tabdump nodehm

To disable: clear the entries of serialport, serialspeed and serialflow columns

$ chdef -t group -o __HardwareProfile_IBM_Flex_System_x serialport= serialspeed= serialflow=


MATLAB OpenCL Toolbox – Update

I made a little update on Matlab OpenCL Toolbox so now it can support the binary file of opencl program, and also a little update to avoid the compilation error in Mac or Linux..

ocl = opencl();

the update is available here.
credit should go to the original author: Radford Juang

CUDA and gcc 4.4

It is a common issue when you are using gcc 4.4 to compile CUDA SDK. Since all CUDA SDK codes were built using the lower version of gcc, you’ll see following error message:

/usr/local/cuda/bin/../include/math_functions.h:442: error: inline function ‘int __signbitl(long double)’ cannot be declared weak make: *** [obj/release/] Error 255

To solve this, what you need to do is simply edit common/ file. In the line 126, it should be
NVCCFLAGS += --compiler-options -fno-strict-aliasing --compiler-options -fno-inline

You may also get the following error when compiling one of the examples in SDK (e.g BlackScholes):

error: ‘__builtin_stdarg_start’ was not declared in this scope

then you need to add another option to the NVCCFLAGS and it would look like this

NVCCFLAGS += --compiler-options -fno-strict-aliasing --compiler-options -fno-inline -Xcompiler -D__builtin_stdarg_start=__builtin_va_start

Below part is an optional. It’s just a suggestion to avoid leaked memory when you do make clean.

Add two more lines in C/Makefile :

clean: tidy $(addsuffix .ph_clean,$(PROJECTS))
@make -C common clean
@make -C common -f Makefile_paramgl clean
@make -C common -f Makefile_rendercheckgl clean