Skip to Content.
Sympa Menu

charm - Re: [charm] Charm compile in IBM AIX UNIX

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Charm compile in IBM AIX UNIX


Chronological Thread 
  • From: Nikhil Jain <nikhil.jain AT acm.org>
  • To: Phil Miller <mille121 AT illinois.edu>
  • Cc: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>, Mengyuan Zhu <mzhu6 AT student.gsu.edu>
  • Subject: Re: [charm] Charm compile in IBM AIX UNIX
  • Date: Wed, 11 Dec 2013 13:32:02 -0600
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Minor correction to Phil's suggestion: changes to be done in 

src/arch/lapi/conv-mach.sh (line 46 to 54).

--Nikhil



On Wed, Dec 11, 2013 at 1:22 PM, Phil Miller <mille121 AT illinois.edu> wrote:
On Wed, Dec 11, 2013 at 11:20 AM, Mengyuan Zhu <mzhu6 AT student.gsu.edu> wrote:
I can run xlc as it is in /usr/bin. But in that folder there is no xlC_r and there are only xlc and xlc++. The administrator knows little about the cluster and did not want to compile it. So I used gcc instead.



In that case, you should be able to modify the variables in charm-6.4.0/src/arch/lap/cc-xlc.sh to refer to xlc and xlc++ instead of xlc_r and xlC_r. You may need to do the same to the NAMD 'arch' files that Jim mentioned as well.
 


Best regards,

Mengyuan Zhu



Sent: Wednesday, December 11, 2013 14:13
To: Mengyuan Zhu; Charm Mailing List

Subject: Re: [charm] Charm compile in IBM AIX UNIX
 
On Wed, Dec 11, 2013 at 11:09 AM, Mengyuan Zhu <mzhu6 AT student.gsu.edu> wrote:
Thank you!

My command:
 ./build charm++ lapi xlc        --with-production

But there is problem with our unix:

../bin/charmc -host  xi-main.C
../bin/charmc[2]: xlC_r:  not found.
Fatal Error by charmc in directory /rc/home/wang/mzhu6/bin/NAMD_2.9_Source/charm-6.4.0/lapi-xlc/tmp
   Command xlC_r -q32 -D_H_UNISTD -DYY_NEVER_INTERACTIVE=1 -I../bin/../include -D__CHARMC__=1 -c xi-main.C -o xi-main.o returned error code 127
charmc exiting...


Is your xlc installation's bin/ directory in your path? You can run 'echo $PATH' to see.
 



Best regards,

Mengyuan Zhu



From: unmobile AT gmail.com <unmobile AT gmail.com> on behalf of Phil Miller <mille121 AT illinois.edu>
Sent: Wednesday, December 11, 2013 13:51
To: Mengyuan Zhu
Cc: charm AT cs.illinois.edu
Subject: Re: [charm] Charm compile in IBM AIX UNIX
 
You could drop the 'gcc' and 'gfortran' options, and use the default xlC compiler toolchain. I believe that is expected to provide better performance on POWER hardware, though the NAMD developers would have to confirm that.

So that we can fully understand your situation, could you please describe what resources led you to choose the lapi-gcc-gfortran build target?


On Wed, Dec 11, 2013 at 10:43 AM, Mengyuan Zhu <mzhu6 AT student.gsu.edu> wrote:
Dear,

As I want to compile NAMD2.9 in AIX UNIX, I have to compile charm first.

This is my command:
./build charm++ lapi gcc   gfortran     --with-production

This is my error:

g++: error: unrecognized command line option '-qstrict'
Fatal Error by charmc in directory /rc/home/wang/mzhu6/bin/NAMD_2.9_Source/charm-6.4.0/lapi-gfortran-gcc/tmp
   Command g++ -fPIC -Wno-deprecated -DCMK_GFORTRAN -I../bin/../include -D__CHARMC__=1 -I. -O3 -qstrict -Q -c trace-common.C -o trace-common.o returned error code 1
charmc exiting...


What can I do?



Best regards,

Mengyuan Zhu


_______________________________________________
charm mailing list
charm AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/charm





_______________________________________________
charm mailing list
charm AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/charm




--
Nikhil Jain, nikhil.jain AT acm.orghttp://charm.cs.uiuc.edu/people/nikhil
Doctoral Candidate @ CS, UIUC



Archive powered by MHonArc 2.6.16.

Top of Page