# 1. The architecture info from "uname -ra" is<br><br>hmlee@node482:~/Cactus> uname -ra<br>Linux node482 2.6.5-7.139-pseries64 #1 SMP Fri Jan 14 15:41:33 UTC 2005 ppc64 ppc64 ppc64 GNU/Linux<br><br># 2. If HOST_MACHINE is not set, then configuration error shows
<br><br>-------- Without HOST_MACHINE --------------------------<br>...<br>...<br><br>End of options from user defaults.<br>creating cache ./config.cache<br>checking host system type... /home/hmlee/Cactus/lib/make/config.guess: unable to guess system type
<br>...<br>...<br><br>This script, last modified 2001-03-16, has failed to recognize<br>the operating system you are using. It is advised that you<br>download the most up to date version of the config scripts from<br><br>
<a href="ftp://ftp.gnu.org/pub/gnu/config/">ftp://ftp.gnu.org/pub/gnu/config/</a><br><br>If the version you run (/home/hmlee/Cactus/lib/make/config.guess) is already up to date, please<br>send the following data and any information you think might be
<br>pertinent to <<a href="mailto:config-patches@gnu.org">config-patches@gnu.org</a>> in order to provide the needed<br>information to handle your system.<br><br>config.guess timestamp = 2001-03-16<br><br>uname -m = ppc64
<br>uname -r = 2.6.5-7.139-pseries64<br>uname -s = Linux<br>uname -v = #1 SMP Fri Jan 14 15:41:33 UTC 2005<br><br>/usr/bin/uname -p =<br>/bin/uname -X = <br><br>hostinfo = <br>/bin/universe = <br>
/usr/bin/arch -k = <br>/bin/arch = ppc64<br>/usr/bin/oslevel = <br>/usr/convex/getsysinfo = <br><br>UNAME_MACHINE = ppc64<br>UNAME_RELEASE = 2.6.5-7.139-pseries64<br>UNAME_SYSTEM = Linux<br>UNAME_VERSION = #1 SMP Fri Jan 14 15:41:33 UTC 2005
<br>configure: error: can not guess host type; you must specify one<br><br>Error creating configuration bench<br>make: *** [bench] Error 2<br>-------------------------------------------------<br><div><span class="gmail_quote">
<br># 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<br><br>Configuration step<br>-----------------<br>...<br>creating cache ./config.cache
<br>checking host system type... powerpc-ibm-aix<br>Setting FPP to $(PERL) $(CCTK_HOME)/lib/sbin/cpp.pl<br>checking whether make sets ${MAKE}... yes<br>...<br><br>Building step<br>------------<br>...<br>CST finished.<br>Checking status of thorn CoordBase
<br>________________________________________________________________________<br>make[2]: Entering directory `/home/hmlee/Cactus/configs/bench/build/CoordBase'<br>if [ ! -d cctk_Bindings/ ] ; then mkdir -p cctk_Bindings/ ; fi
<br>echo CCTK_THIS_SUBDIR := cctk_Bindings/ > cctk_Bindings/make.identity<br>if [ ! -d ./ ] ; then mkdir -p ./ ; fi<br>echo CCTK_THIS_SUBDIR := ./ > make.identity<br>make[2]: Leaving directory `/home/hmlee/Cactus/configs/bench/build/CoordBase'
<br>make[2]: Entering directory `/home/hmlee/Cactus/configs/bench/build/CoordBase'<br>if [ ! -d ./ ] ; then mkdir -p ./ ; fi<br>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
<br>make[3]: Entering directory `/home/hmlee/Cactus/configs/bench/build/CoordBase'<br>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<br>mv: cannot stat `GHExtension.u': No such file or directory<br>make[3]: *** [GHExtension.c.d] Error 1<br>make[3]: Leaving directory `/home/hmlee/Cactus/configs/bench/build/CoordBase'
<br>make[2]: *** [make.checked] Error 2<br>make[2]: Leaving directory `/home/hmlee/Cactus/configs/bench/build/CoordBase'<br>make[1]: *** [/home/hmlee/Cactus/configs/bench/lib/libthorn_CoordBase.a] Error 2<br>make[1]: Leaving directory `/home/hmlee/Cactus'
<br>make: *** [bench] Error 2<br><br># 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.<br><br>I hope you can find a proper configuration for this architecture.
<br><br>Regards,<br><br>Hee Il<br><br><br>2007/3/14, Erik Schnetter <<a href="mailto:schnetter@cct.lsu.edu">schnetter@cct.lsu.edu</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mar 14, 2007, at 00:45:54, Hee Il Kim wrote:<br><br>> I couldn't attach the file because it's larger than 40kb. I posted<br>> it on<br>><br>> <a href="http://hepth.hanyang.ac.kr/~khi/Domain.c.d">http://hepth.hanyang.ac.kr/~khi/Domain.c.d
</a><br><br>This file contains preprocessed C source code. It should instead<br>contain makefile rules.<br><br>The problem is that Cactus does not know how to perform certain<br>actions on your architecture. For many architectures Cactus has
<br>"known architecture" files that describe these actions; these are<br>located in lib/make/known-architectures. It will be necessary to<br>make Cactus use one of the existing architecture files, or a new one<br>
will have to be created.<br><br>Can you describe the architecture that you are using? For example,<br>what is the output of "uname -a"? What does "lib/make/config.guess"<br>output? Is your architecture similar to AIX?
<br><br>-erik<br><br>--<br>Erik Schnetter <<a href="mailto:schnetter@cct.lsu.edu">schnetter@cct.lsu.edu</a>><br><br>My email is as private as my paper mail. I therefore support encrypting<br>and signing email messages. Get my PGP key from
<a href="http://www.keyserver.net">www.keyserver.net</a>.<br><br><br><br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@cactuscode.org">Users@cactuscode.org</a><br><a href="http://www.cactuscode.org/mailman/listinfo/users">
http://www.cactuscode.org/mailman/listinfo/users</a><br><br><br></blockquote></div><br>