[Users] Porting problem on IBM ppc

Hee Il Kim heeilkim at gmail.com
Thu Mar 15 00:25:39 CST 2007


Thanks Erik,

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.

...
checking host system type... powerpc64-unknown-linux-gnu
...

But failed to identify f90 compiler

...
Unknown Linux f90 compiler.
Please add appropriate information to
  /home/hmlee/Cactus/lib/make/known-architectures/linux
and send the updated file to CactusMaint
...

So I'm going to make a new known-architecture. But I don't know how to name
the new architecture file, i.e,
~/Cactus/lib/make/know-architectures/???_new_arch_???

It's too tough for me to read out the related Cactus files. Could you tell
me the naming skeme?

Thanks,

Hee Il

2007/3/15, Erik Schnetter <schnetter at cct.lsu.edu>:
>
> 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.
>
>
>
>
> _______________________________________________
> 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/20070315/9dd88102/attachment.html 


More information about the Users mailing list