Re: problems compiling charm++ for clustermatic 4

From: Zheng Gengbin (gzheng_at_students.uiuc.edu)
Date: Tue Dec 16 2003 - 02:21:36 CST

Hi,

I have wrote some code based on the <bproc.h> header file I downloaded
from the bproc 4 rpm. Hopefully it should get Charm++ working on
clustermatic 4 with the new bproc.

Since I have no access to clustermatic 4, so I can't test it.
Please download the charm from CVS (not from the web in tar.gz format)
and compile it to see if the compilation has been fixed.
Also you can try a simple charm++ program at
charm/net-linux-scyld/pgms/charm++/simplearrayhello

Please let me know if it works, thanks,

Gengbin

On Tue, 16 Dec 2003, Zheng Gengbin wrote:

>
> Hi,
>
> The BPROC library comes with clustermatic 4 is not compatible with the old
> version. That is why it is failing.
> I am working on a fix now and will let you know when it is available,
> thanks,
>
> Gengbin
>
> On Mon, 15 Dec 2003, Mike Grommet wrote:
>
> > My mistake -- I pointed out the wrong location where
> > compilation fails...
> >
> > if I cd to net-linux-clustermatic/tmp, and run make:
> >
> > In file included from charmrun.c:11:
> > ../sockRoutines.c: In function `skt_innode_lookup_ip':
> > ../sockRoutines.c:244: warning: passing arg 2 of
> > `bproc_nodeaddr' from incompatible pointer type
> > charmrun.c: In function `nodetab_init_for_scyld':
> > charmrun.c:1894: too few arguments to function
> > `bproc_nodestatus'
> > charmrun.c:1894: `bproc_node_up' undeclared (first use
> > in this function)
> > charmrun.c:1894: (Each undeclared identifier is
> > reported only once
> > charmrun.c:1894: for each function it appears in.)
> >
> >
> >
> > --- Mike Grommet <mgrommet_at_yahoo.com> wrote:
> > > Hi guys. I'm trying to build namd for clustermatic
> > > 4
> > > and are running into fun and interesting issues...
> > > Any
> > > ideas? A long email, but I really wanted to give
> > > you
> > > guys accurate and useful info.
> > >
> > > OS: Redhat 9
> > > Clustermatic V. 4
> > > Building from NAMD v 2.5 source distribution.
> > >
> > > I'm using the charm tarball that is included in the
> > > NAMD source distribution... and executing:
> > >
> > > ./build charm++ net-linux clustermatic
> > >
> > > I've followed the instructions for compiling namd
> > > from
> > > source and have run into this. Sorry about the
> > > length
> > > of the log, but I thought you might need all output.
> > >
> > > The build process can't find f90. Not sure how
> > > fatal
> > > this is... A few lines further, the build process
> > > grips that it couldn't find pup_f.f90
> > >
> > > I'm hoping i don't need this... from what I can
> > > tell,
> > > this is a commercial product...
> > >
> > > The error where the build process dies is:
> > >
> > > sockRoutines.c: In function `skt_innode_lookup_ip':
> > > sockRoutines.c:244: warning: passing arg 2 of
> > > `bproc_nodeaddr' from incompatible pointer type
> > >
> > >
> > > I also grabbed the source distro of charm++ off of
> > > the
> > > website (2.5.2) -- but clustermatic isn't an
> > > available
> > > option in the build script.
> > >
> > > I then pulled the cvs source and built using the
> > > command above and had the same results as with the
> > > pre-packaged charm.tar.
> > >
> > > Any help would be most appreciated!
> > >
> > >
> > >
> > > =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2003.12.15
> > > 23:51:36
> > > =~=~=~=~=~=~=~=~=~=~=~=
> > >
> > > Selected Compiler:
> > > Selected Options: clustermatic
> > > Creating dir: net-linux-clustermatic
> > > Creating dir: net-linux-clustermatic/tmp
> > > Copying src/scripts/Makefile to
> > > net-linux-clustermatic/tmp
> > > Soft-linking over bin
> > > Soft-linking over lib
> > > Soft-linking over lib_so
> > > Soft-linking over include
> > > Soft-linking over tmp
> > > Generating
> > > net-linux-clustermatic/tmp/conv-mach-pre.sh
> > > Generating
> > > net-linux-clustermatic/tmp/conv-mach-opt.h,
> > > conv-mach-opt.sh
> > > Performing 'make charm++ OPTS=' in
> > > net-linux-clustermatic/tmp
> > > rm -f .gdir
> > > (cd .. ; basename "`pwd`" | sed -e 's_at_-.*@@') >
> > > .gdir
> > > pwd
> > >
> > /home/mgrommet/namdsrc/NAMD_2.5_Source/charm/net-linux-clustermatic/tmp
> > > find . -type l -exec rm {} \;
> > > rm -rf QuickThreads
> > > rm -rf libs
> > > rm -rf ../bin ; mkdir ../bin
> > > rm -rf ../lib ; mkdir ../lib
> > > rm -rf ../lib_so ; mkdir ../lib_so
> > > rm -rf ../pgms
> > > rm -rf ../doc ; ln -s ../doc ../doc
> > > ../../src/scripts/gatherflat ../../src/scripts .
> > > ./gatherflat ../../src/conv-core .
> > > ./gatherflat ../../src/conv-ldb .
> > > ./gatherflat ../../src/conv-ccs .
> > > ./gatherflat ../../src/conv-perf .
> > > ./gatherflat ../../src/ck-core .
> > > ./gatherflat ../../src/util .
> > > ./gatherflat ../../src/ck-perf .
> > > ./gatherflat ../../src/ck-ldb .
> > > ./gatherflat ../../src/langs/simplemsg .
> > > ./gatherflat ../../src/langs/pvmc .
> > > ./gatherflat ../../src/langs/bluegene .
> > > ./gatherflat ../../src/langs/f90charm .
> > > ./gatherflat ../../src/xlat-i .
> > > ./gatherflat ../../src/xlatcpm .
> > > ./gathertree ../../src/QuickThreads QuickThreads
> > > ./gathertree ../../src/libs libs
> > > ./gathertree ../../src/arch/util .
> > > ./gathertree ../../src/langs langs
> > > ./gathertree ../../src/arch/common .
> > > ./gathertree ../../src/arch/`cat .gdir` .
> > > ./gatherflat ../../src/arch/`cat .vdir` .
> > > ./gathertree ../../pgms ../pgms
> > > rm -f ../bin/charmc ; cp charmc ../bin/
> > > chmod +x ../bin/charmc
> > > rm -f .gdir
> > > rm -rf ../include ; mkdir ../include
> > > ./system_ln ../tmp/conv-*.*h ../include
> > > ./system_ln ../tmp/cc-*.*h ../include
> > > if [ ! -f conv-common.h ] ; then ( touch
> > > conv-common.h
> > > ) ; fi
> > > touch dirs+sources
> > > ./configure
> > > creating cache ./config.cache
> > > checking machine name... net-linux-clustermatic
> > > set C++ compiler as: g++ -Wno-deprecated
> > > -I/Projects/namd2/clustermatic/include
> > > -I/root/clustermatic/include
> > > checking whether C++ compiler works... ok
> > > checking whether C++ bool works... ok
> > > checking whether long long works... ok
> > > checking whether __int64 works... no
> > > checking whether long double works... ok
> > > checking whether C++ class explicit keyword works...
> > > ok
> > > checking whether C++ signed char and char differ...
> > > yes
> > > checking whether C++ *_casts<> work... ok
> > > checking whether templated member functions work...
> > > ok
> > > checking whether including STL <foo> works... ok
> > > checking whether the std:: names for STL work... ok
> > > checking whether namespaces work... ok
> > > checking whether typeinfo/typeid works... ok
> > > checking whether operator delete can be overloaded
> > > in
> > > same class... ok
> > > checking whether the poll() syscall exists... yes
> > > checking whether to use signal-safe system() ... yes
> > > checking whether dlopen links without -ldl... no
> > > checking whether dlopen links with -ldl... yes
> > > checking whether getProcAddress works... no
> > > checking whether it has socklen_t... yes
> > > checking whether the mmap() syscall exists... yes
> > > checking whether mmap() accepts MAP_ANON... yes
> > > checking whether glibc backtrace works... yes
> > > checking whether it has zlib... yes
> > > checking whether has values.h ... yes
> > > checking whether has alloca.h ... yes
> > > checking whether it can build shared library... yes
> > > checking subroutine name used by Fortran compiler...
> > > Fortran compiler not working
> > > updating cache ./config.cache
> > > creating ./config.status
> > > creating conv-autoconfig.h
> > > ../bin/charmc -seq xi-main.C
> > > ../bin/charmc -seq xi-symbol.C
> > > ../bin/charmc -seq xi-grammar.tab.C
> > > ../bin/charmc -seq -I. -DYY_NEVER_INTERACTIVE
> > > xi-scan.C
> > > ../bin/charmc -seq xi-util.C
> > > ../bin/charmc -seq -c sdag-globals.C
> > > ../bin/charmc -seq -c CSdagConstruct.C
> > > ../bin/charmc -seq -c CEntry.C
> > > ../bin/charmc -seq -language c++ -cp ../bin/ -o
> > > charmxi xi-main.o xi-symbol.o xi-grammar.tab.o
> > > xi-scan.o xi-util.o sdag-globals.o CSdagConstruct.o
> > > CEntry.o
> > > ../bin/charmc -build-shared ckcallback.ci
> > > ../bin/charmc -build-shared ckmarshall.ci
> > > ../bin/charmc -build-shared ckarray.ci
> > > ../bin/charmc -build-shared cklocation.ci
> > > ../bin/charmc -build-shared ckreduction.ci
> > > ../bin/charmc -build-shared ckarrayreductionmgr.ci
> > > ../bin/charmc -build-shared ckfutures.ci
> > > ../bin/charmc -build-shared LBDatabase.ci
> > > ../bin/charmc -build-shared CentralLB.ci
> > > ../bin/charmc -build-shared NullLB.ci
> > > ../bin/charmc -build-shared ckcheckpoint.ci
> > > ../bin/charmc -build-shared RandCentLB.ci
> > > ../bin/charmc -build-shared RecBisectBfLB.ci
> > > ../bin/charmc -build-shared BaseLB.ci
> > > ../bin/charmc -build-shared MetisLB.ci
> > > ../bin/charmc -build-shared DummyLB.ci
> > > ../bin/charmc -build-shared RefineLB.ci
> > > ../bin/charmc -build-shared OrbLB.ci
> > > ../bin/charmc -build-shared GreedyLB.ci
> > > ../bin/charmc -build-shared NborBaseLB.ci
> > > ../bin/charmc -build-shared NeighborLB.ci
> > > ../bin/charmc -build-shared WSLB.ci
> > > ../bin/charmc -build-shared GreedyRefLB.ci
> > > ../bin/charmc -build-shared RandRefLB.ci
> > >
> > === message truncated ===
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Protect your identity with Yahoo! Mail AddressGuard
> > http://antispam.yahoo.com/whatsnewfree
> >
>

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