helpAdun - Support: sr #1062, Installing Adun

 
 
Show feedback again

sr #1062: Installing Adun

Submitted by:  None
Submitted on:  Fri 21 Apr 2006 07:44:11 AM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open
Operating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 21 Apr 2006 10:33:55 AM UTC, comment #2:

I've been checking around on the ffcall problem and the inability to build on powerpc64 is listed as a bug on the developers site. Its pretty recent (December updated in February) so hopefully it will be fixed soon.

Also gnustep can use libffi instead of ffcall. libffi is part of the gcc package but unfortunately it fails to build on powerpc64 with gcc < 4.1 (from checking the gcc test lists its reported to build successfully for gcc4.1 on powerpc64-unknown-linux-gnu which is what marenostrum is) and the gcc on marenostrum is still gcc-3.3.

Therefore we have to wait until they upgrade gcc on marenostrum (a large task but something they have to do sooner or later) or it should be possible to apply a patch to libffi in gcc3.3 to get it to compile. It may even be possible to check out libffi from the the gcc4.1 source tree and build it with gcc3.3 (assuming the fix has nothing to do with changes in the compiler itself) but I'm not sure how difficult this would be - maybe the marenostrum people could do this.

Michael Johnston <mjohnston>
Project Administrator
Fri 21 Apr 2006 08:31:37 AM UTC, comment #1:

I'll try and address each of your points. Note that the GNUstep libraries are highly configurable and most of the external dependancies can be overridden - whether this is the thing to do is another problem. (I take it your using a gnustep-startup? package)

- Regarding the XML libraries these are very standard technology now and Adun uses an XML format for the force field files (aswell as other things such as binary archives, options files etc. but in theory these don't strictly have to be XML) so libxml is a must.

- I just did a quick search and as far as I can see ffcall is available for powerpc (actually it must be since gnustep is compilible on Mac which is powerpc based). Is this a 64 bit problem? The gnustep compatibility list http://www.gnustep.org/resources/documentation/User/GNUstep/machines_1.html
shows that it can be built using Linux/PowerPC (debian and gentoo distros). I'll search around a bit more.

- I didnt know about the fenv problem. This raises the question on how gsl can compile under cygwin since afaik it uses fenv aswell. Also cygwin is not a supported gnustep target since they are working on a 'real' windows port using MinGW. In essence once the gnustep libraries are ported to windows Adun will be. (This is an added bonus since it means we dont have to deal with any porting issues ourselves)

To sum up Adun is only expected to compile on relativly new linux distributions (not over three years old say) and Mac0SX so the RedHat and cygwin problems aren't unexpected. The PowerPC problem however is a different matter so as I said I'll look into it a bit more - maybe the marenostrum people will be able to do something.

If worst comes to worst ffcall is not strictly needed and the use Adun makes of it probably wouldnt be allowed on MareNostrum anyway. It is used for inbuilt distributed computing i.e. communication between the Adun Userland and Kernel (starting, steering etc). It is possible to just compile the Kernel using gnustep without ffcall. You would have to "prepare" the input files using the interface on another computer, export them, and then run the Kernel as a command line program (In the future it will be possible to do the preparation from the command line but not now unfortunatly).

Michael Johnston <mjohnston>
Project Administrator
Fri 21 Apr 2006 07:44:11 AM UTC, original submission:

I'm having a lot of problems trying to install Adun.

-I tried on an old Red Hat 7.3 computer and it doesn't have the XML libraries that GNUstep needs.

-I tried on an Linux on IBM PowerPC (Marenostrum) but it doesn't have ffcall, so GNUStep complains, and ffcall won't compile because it is not supported for that machine.

-I tried on a windows machine with cygwin but cygwin doesn't have the fenv.h file. I looked on the internet and it seems that this is a common problem for porting codes to cygwin (I personally think that a cygwin port is a good idea since many people use windows machines)

Do you have any hint about what to do? (Note that I don't have root access on the PowerPC machines, and I can't update the Red Hat system)

Since the main problem with PowerPC and Red Hat seems to be the compilation of GNUstep, is it possible to compile only the options that Adun needs? Are there executables for GNUStep that require no other program?

Thanks

Jose

Anonymous

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mjohnston
  • -unavailable- added by mjohnston (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 21 Apr 2006 08:31:37 AM UTCmjohnstonCarbon-Copy-=>Added -unavailable-
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup