Re: NAMD on IBM cluster AIX-RS6000

From: Gengbin Zheng (
Date: Fri Jan 21 2005 - 22:06:32 CST

This is an easy fix, go to file namd2/arch/AIX-RS6000-xlC.arch
change line:
CXX = xlC_r -w -DSOCKLEN_T=size_t -qstaticinline


CXX = xlC_r -w -DSOCKLEN_T=socklen_t -qstaticinline

This fix has been checked in to namd cvs, btw.


Harindar Keer wrote:

> I am trying to install NAMD2.5 on IBM cluster, AIX-RS6000-xlC
>I am struck at following error while running make
> xlC_r -w -DSOCKLEN_T=size_t -qstaticinline
>-I/u/hkeer/NAMD_2.5_Lori/charm-5.8/net-rs6k/include -DCMK_OPTIMIZE=1
>-Isrc -Iinc -I/u/hkeer/Packages/plugins/AIX4
>-I/u/hkeer/Packages/plugins/include -I/u/hkeer/plugins/AIX4
>-I/u/hkeer/plugins/AIX4/molfile -I/u/hkeer/plugins/include
>-I/u/hkeer/Packages/plugins/LINUX -DNAMD_PLUGINS
>-I/u/hkeer/Packages/tcl/include -DNAMD_TCL -DUSE_NON_CONST
>-I/u/hkeer/Packages/fftw/linux/include -DNAMD_FFTW
>-DNAMD_VERSION=\"2.5\" -DNAMD_PLATFORM=\"AIX-RS6000\" -O3 -qstrict -Q
>-qarch=com -qtune=pwr3 -qfloat=rsqrt:fltint -bmaxdata:0x80000000 -o
>obj/vmdsock.o -c src/vmdsock.C
>"src/vmdsock.C", line 129.52: 1540-0256 (S) A parameter of type
>"unsigned int *" cannot be initialized with an expression of type
>"unsigned long *".
>"src/vmdsock.C", line 129.52: 1540-1205 (I) The error occurred while
>converting to parameter 3 of "accept(int, sockaddr *, socklen_t *)".
>make: 1254-004 The error code from the last command is 1.
>I am using xlC version 6.
>Many thanks,

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:40:29 CST