[Users] Porting problem on IBM ppc

Hee Il Kim heeilkim at gmail.com
Wed Mar 14 02:04:17 CST 2007


# 1. The architecture info from "uname -ra" is

hmlee at node482:~/Cactus> uname -ra
Linux node482 2.6.5-7.139-pseries64 #1 SMP Fri Jan 14 15:41:33 UTC 2005
ppc64 ppc64 ppc64 GNU/Linux

# 2. If HOST_MACHINE is not set, then configuration error shows

-------- Without HOST_MACHINE --------------------------
...
...

End of options from user defaults.
creating cache ./config.cache
checking host system type... /home/hmlee/Cactus/lib/make/config.guess:
unable to guess system type
...
...

This script, last modified 2001-03-16, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

    ftp://ftp.gnu.org/pub/gnu/config/

If the version you run (/home/hmlee/Cactus/lib/make/config.guess) is already
up to date, please
send the following data and any information you think might be
pertinent to <config-patches at gnu.org> in order to provide the needed
information to handle your system.

config.guess timestamp = 2001-03-16

uname -m = ppc64
uname -r = 2.6.5-7.139-pseries64
uname -s = Linux
uname -v = #1 SMP Fri Jan 14 15:41:33 UTC 2005

/usr/bin/uname -p =
/bin/uname -X     =

hostinfo               =
/bin/universe          =
/usr/bin/arch -k       =
/bin/arch              = ppc64
/usr/bin/oslevel       =
/usr/convex/getsysinfo =

UNAME_MACHINE = ppc64
UNAME_RELEASE = 2.6.5-7.139-pseries64
UNAME_SYSTEM  = Linux
UNAME_VERSION = #1 SMP Fri Jan 14 15:41:33 UTC 2005
configure: error: can not guess host type; you must specify one

Error creating configuration bench
make: *** [bench] Error 2
-------------------------------------------------

# 3. If I set HOST_MACINE=ppc-ibm, then Cactus recognizes my system as AIX.
But it failed to build with somewhat different error messages shown below

Configuration step
-----------------
...
creating cache ./config.cache
checking host system type... powerpc-ibm-aix
Setting FPP to $(PERL) $(CCTK_HOME)/lib/sbin/cpp.pl
checking whether make sets ${MAKE}... yes
...

Building step
------------
...
CST finished.
Checking status of thorn CoordBase
________________________________________________________________________
make[2]: Entering directory
`/home/hmlee/Cactus/configs/bench/build/CoordBase'
if [ ! -d cctk_Bindings/ ] ; then mkdir -p cctk_Bindings/ ; fi
echo CCTK_THIS_SUBDIR := cctk_Bindings/ > cctk_Bindings/make.identity
if [ ! -d ./ ] ; then mkdir -p ./ ; fi
echo CCTK_THIS_SUBDIR := ./ > make.identity
make[2]: Leaving directory
`/home/hmlee/Cactus/configs/bench/build/CoordBase'
make[2]: Entering directory
`/home/hmlee/Cactus/configs/bench/build/CoordBase'
if [ ! -d ./ ] ; then mkdir -p ./ ; fi
cd ./ ; make CCTK_TARGET=make.checked TOP=/home/hmlee/Cactus/configs/bench
CONFIG=/home/hmlee/Cactus/configs/bench/config-data
SRCDIR=/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src
THORN=CoordBase USESTHORNS="" -f /home/hmlee/Cactus/lib/make/make.subdir
make[3]: Entering directory
`/home/hmlee/Cactus/configs/bench/build/CoordBase'
xlc -E -M
/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/GHExtension.c
-I"/usr/local/mpich/mpichgm-1.2.6..14a/gm/ppc64/smp/ibmcmp64/ssh/include"
-I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src"
-I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/include"
-I"/home/hmlee/Cactus/configs/bench/config-data"
-I"/home/hmlee/Cactus/configs/bench/bindings/include"
-I"/home/hmlee/Cactus/src/include" -I"/home/hmlee/Cactus/arrangements"
-I"/home/hmlee/Cactus/configs/bench/bindings/Configuration/Thorns"
-I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src"
-I"/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/include"
-DTHORN_IS_CoordBase -DCCODE > /dev/null ; mv GHExtension.u GHExtension.c.d
mv: cannot stat `GHExtension.u': No such file or directory
make[3]: *** [GHExtension.c.d] Error 1
make[3]: Leaving directory
`/home/hmlee/Cactus/configs/bench/build/CoordBase'
make[2]: *** [make.checked] Error 2
make[2]: Leaving directory
`/home/hmlee/Cactus/configs/bench/build/CoordBase'
make[1]: *** [/home/hmlee/Cactus/configs/bench/lib/libthorn_CoordBase.a]
Error 2
make[1]: Leaving directory `/home/hmlee/Cactus'
make: *** [bench] Error 2

# 4. I tried another host_machines such as linux, ppc-linux-gnu, ppc64-ibm.
All the tries ended up with the same error messages that I showed you in the
previous mail.

I hope you can find a proper configuration for this architecture.

Regards,

Hee Il


2007/3/14, Erik Schnetter <schnetter at cct.lsu.edu>:
>
> On Mar 14, 2007, at 00:45:54, Hee Il Kim wrote:
>
> > I couldn't attach the file because it's larger than 40kb. I posted
> > it on
> >
> > http://hepth.hanyang.ac.kr/~khi/Domain.c.d
>
> This file contains preprocessed C source code.  It should instead
> contain makefile rules.
>
> The problem is that Cactus does not know how to perform certain
> actions on your architecture.  For many architectures Cactus has
> "known architecture" files that describe these actions; these are
> located in lib/make/known-architectures.  It will be necessary to
> make Cactus use one of the existing architecture files, or a new one
> will have to be created.
>
> Can you describe the architecture that you are using?  For example,
> what is the output of "uname -a"?  What does "lib/make/config.guess"
> output?  Is your architecture similar to AIX?
>
> -erik
>
> --
> Erik Schnetter <schnetter at cct.lsu.edu>
>
> My email is as private as my paper mail.  I therefore support encrypting
> and signing email messages.  Get my PGP key from www.keyserver.net.
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at cactuscode.org
> http://www.cactuscode.org/mailman/listinfo/users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.cactuscode.org/pipermail/users/attachments/20070314/0e68dafa/attachment.html 


More information about the Users mailing list