# 1. The architecture info from &quot;uname -ra&quot; is<br><br>hmlee@node482:~/Cactus&gt; 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>
&nbsp;&nbsp;&nbsp; <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 &lt;<a href="mailto:config-patches@gnu.org">config-patches@gnu.org</a>&gt; 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&nbsp;&nbsp;&nbsp;&nbsp; = <br><br>hostinfo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = <br>/bin/universe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = <br>
/usr/bin/arch -k&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = <br>/bin/arch&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = ppc64<br>/usr/bin/oslevel&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = <br>/usr/convex/getsysinfo = <br><br>UNAME_MACHINE = ppc64<br>UNAME_RELEASE = 2.6.5-7.139-pseries64<br>UNAME_SYSTEM&nbsp; = 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&#39;<br>if [ ! -d cctk_Bindings/ ] ; then mkdir -p cctk_Bindings/ ; fi
<br>echo CCTK_THIS_SUBDIR := cctk_Bindings/ &gt; cctk_Bindings/make.identity<br>if [ ! -d ./ ] ; then mkdir -p ./ ; fi<br>echo CCTK_THIS_SUBDIR := ./ &gt; make.identity<br>make[2]: Leaving directory `/home/hmlee/Cactus/configs/bench/build/CoordBase&#39;
<br>make[2]: Entering directory `/home/hmlee/Cactus/configs/bench/build/CoordBase&#39;<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=&quot;&quot; -f /home/hmlee/Cactus/lib/make/make.subdir
<br>make[3]: Entering directory `/home/hmlee/Cactus/configs/bench/build/CoordBase&#39;<br>xlc -E -M&nbsp; /home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/GHExtension.c -I&quot;/usr/local/mpich/mpichgm-1.2.6..14a/gm/ppc64/smp/ibmcmp64/ssh/include
&quot; -I&quot;/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src&quot; -I&quot;/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/include&quot; -I&quot;/home/hmlee/Cactus/configs/bench/config-data&quot; -I&quot;/home/hmlee/Cactus/configs/bench/bindings/include&quot; -I&quot;/home/hmlee/Cactus/src/include&quot; -I&quot;/home/hmlee/Cactus/arrangements&quot; -I&quot;/home/hmlee/Cactus/configs/bench/bindings/Configuration/Thorns&quot; -I&quot;/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src&quot; -I&quot;/home/hmlee/Cactus/arrangements/CactusBase/CoordBase/src/include&quot; -DTHORN_IS_CoordBase -DCCODE &gt; /dev/null ; mv 
GHExtension.u GHExtension.c.d<br>mv: cannot stat `GHExtension.u&#39;: 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&#39;
<br>make[2]: *** [make.checked] Error 2<br>make[2]: Leaving directory `/home/hmlee/Cactus/configs/bench/build/CoordBase&#39;<br>make[1]: *** [/home/hmlee/Cactus/configs/bench/lib/libthorn_CoordBase.a] Error 2<br>make[1]: Leaving directory `/home/hmlee/Cactus&#39;
<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 &lt;<a href="mailto:schnetter@cct.lsu.edu">schnetter@cct.lsu.edu</a>&gt;:</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>&gt; I couldn&#39;t attach the file because it&#39;s larger than 40kb. I posted<br>&gt; it on<br>&gt;<br>&gt; <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.&nbsp;&nbsp;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.&nbsp;&nbsp;For many architectures Cactus has
<br>&quot;known architecture&quot; files that describe these actions; these are<br>located in lib/make/known-architectures.&nbsp;&nbsp;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?&nbsp;&nbsp;For example,<br>what is the output of &quot;uname -a&quot;?&nbsp;&nbsp;What does &quot;lib/make/config.guess&quot;<br>output?&nbsp;&nbsp;Is your architecture similar to AIX?
<br><br>-erik<br><br>--<br>Erik Schnetter &lt;<a href="mailto:schnetter@cct.lsu.edu">schnetter@cct.lsu.edu</a>&gt;<br><br>My email is as private as my paper mail.&nbsp;&nbsp;I therefore support encrypting<br>and signing email messages.&nbsp;&nbsp;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>