Hi,<br><br>I'm glad to inform you that I made a working configuration for IBM pseries linux system. Of course, it's just a working example that I made from trials and errors. It should be elaborated further and patched to Cactus by experts. Some important things are;
<br><br>System info:<br>CPU: IBM PowerPC 970<br>Linux node480 2.6.5-7.139-pseries64 #1 SMP Fri Jan 14 15:41:33 UTC 2005 ppc64 ppc64 ppc64 GNU/Linux<br>OS: SLES 9<br>Compilers: IBM XL Fortran Advanced Edition for Linux 9.1
, IBM XL C/C++ Advanced Edition for Linux 7.0<br><br>Tips:<br><br>1. config.guess and config.sub should be updated. I tested those from Fedora 6 (timestamp='2005-04-22') and the latest ones from <a href="http://savannah.gnu.org">
savannah.gnu.org</a>. Then Cactus recognized the system architecture as "powerpc64-unknown-linux-gnu" and required to add the compiler information to ~/Cactus/lib/make/known-architectures/linux-gnu.<br><br>2. Simply I modified the original aix and named linux-pseries. And in .../linux-gnu, I changed linux into linux-pseries,
i.e. ^^<br># in .../linux-gnu<br>. $srcdir/known-architectures/linux-pseries<br><br>In linux-pseries;<br><br>3. The most important thing is that the XL C compiler with "-M" option for linux does not produce ".u" files as its AIX version did. Instead it produces ".d" files which contain the makefile info. So I changed the extension part in linux-pseries file. See the attached files.
<br><br>4. LIBS=xlf90 is important for successful building.<br><br>5. Environment variable OBJECT_MODE is required for 32/64 bit selection.<br><br>I found Cactus and Carpet run successfully with this prescription<br><br>Again, it's just a working example. I think it's not difficult for you to elaborate this. Your help would be appreciated.
<br><br>Thanks so much, Erik!<br><br>Hee Il<br><br><br><div><span class="gmail_quote">2007/3/15, Hee Il Kim <
<a href="mailto:heeilkim@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">heeilkim@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks Erik,<br><br>I was trying to get the latest
config.guess and config.sub since last night. So I tried the files from the lastest libtool package. Without the HOST_MACHINE option, Cactus recognized my system as powerpc64-unknown-linux-gnu.
<br><br>...<br>checking host system type... powerpc64-unknown-linux-gnu<br>...<br><br>But failed to identify f90 compiler<br><br>...<br>Unknown Linux f90 compiler.<br>Please add appropriate information to<br> /home/hmlee/Cactus/lib/make/known-architectures/linux
<br>and send the updated file to CactusMaint<br>...<br><br>So I'm going to make a new known-architecture. But I don't know how to name the new architecture file, i.e,<br>~/Cactus/lib/make/know-architectures/???_new_arch_???
<br><br>It's too tough for me to read out the related Cactus files. Could you tell me the naming skeme?<br><br>Thanks,<br><br>Hee Il<br><br><div><span class="gmail_quote">2007/3/15, Erik Schnetter <<a href="mailto:schnetter@cct.lsu.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
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;"><div><span>Hee Il,
<br><br>thanks for the detailed report. By the way, are you using the stable
<br>or the development version of Cactus?<br><br>I'm afraid that it will be difficult or impossible for us to help you<br>in any detail unless we have access to such a machine. I was hoping<br>that the version numbers and detailed error messages would give us a
<br>hint for something that would be easy to correct, but they did not.<br>I describe below what I would try in your case. I don't know whether<br>this will help you much.<br><br><br><br>I think the proper way to handle your system is to make sure that
<br>config.guess recognises it as Linux system. Apparently, setting<br>HOST_MACHINE does this, although I am no expert with the GNU<br>config.guess. Updating config.guess may also help. You could try<br>this; newer versions the files "
config.guess" and "config.sub" are<br>available on the web.<br><br>The next step is to create Cactus known-architecture file for this<br>architecture, which probably should just source known-architectures/
<br>
linux. See the file "linux-gnu" as example.<br><br>The last step is then to add support for xlc to the Linux known-<br>architecture file. The AIX known-architecture file is an example.<br><br><br><br>However, there may be an easier way. You can use gcc instead of xlc
<br>as compiler. I suggest a recent version, e.g. a variant of 4.1. If<br>this is not already installed on your system you can install it<br>yourself. You have to explicitly enable support for gfortran. Using<br>gcc
3.x
is probably asking for trouble later on, as it may not<br>compile all of Carpet's C++ code (you mentioned Carpet before). g77<br>also cannot handle some of the Fortran 90 thorns.<br><br>In this case, you can probably set HOST_MACHINE to a Linux architecture.
<br><br>-erik<br><br>--<br>Erik Schnetter <<a href="mailto:schnetter@cct.lsu.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">www.keyserver.net</a>.<br><br><br><br><br></span></div><span>_______________________________________________
<br>Users mailing list<br><a href="mailto:Users@cactuscode.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Users@cactuscode.org</a><br><a href="http://www.cactuscode.org/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.cactuscode.org/mailman/listinfo/users</a><br><br><br></span></blockquote></div><br>
</blockquote></div><br>