[Users] Porting problem on IBM ppc

Erik Schnetter schnetter at cct.lsu.edu
Wed Mar 14 21:07:27 CST 2007


Hee Il,

thanks for the detailed report.  By the way, are you using the stable  
or the development version of Cactus?

I'm afraid that it will be difficult or impossible for us to help you  
in any detail unless we have access to such a machine.  I was hoping  
that the version numbers and detailed error messages would give us a  
hint for something that would be easy to correct, but they did not.   
I describe below what I would try in your case.  I don't know whether  
this will help you much.



I think the proper way to handle your system is to make sure that  
config.guess recognises it as Linux system.  Apparently, setting  
HOST_MACHINE does this, although I am no expert with the GNU  
config.guess.  Updating config.guess may also help.  You could try  
this; newer versions the files "config.guess" and "config.sub" are  
available on the web.

The next step is to create Cactus known-architecture file for this  
architecture, which probably should just source known-architectures/ 
linux.  See the file "linux-gnu" as example.

The last step is then to add support for xlc to the Linux known- 
architecture file.  The AIX known-architecture file is an example.



However, there may be an easier way.  You can use gcc instead of xlc  
as compiler.  I suggest a recent version, e.g. a variant of 4.1.  If  
this is not already installed on your system you can install it  
yourself.  You have to explicitly enable support for gfortran.  Using  
gcc 3.x is probably asking for trouble later on, as it may not  
compile all of Carpet's C++ code (you mentioned Carpet before).  g77  
also cannot handle some of the Fortran 90 thorns.

In this case, you can probably set HOST_MACHINE to a Linux architecture.

-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.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://www.cactuscode.org/pipermail/users/attachments/20070314/b14ebe4b/attachment-0001.bin 


More information about the Users mailing list