[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] installing GSL on AIX

From: Brian Gough
Subject: Re: [Help-gsl] installing GSL on AIX
Date: Mon, 25 Sep 2006 14:29:47 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20060815 SeaMonkey/1.0.4

   I am currently installing gsl-1.7 on our IBM cluster with an AIX5.1
  operating system as it is needed by the Gadget2.0 library. While compiling
  gsl-1.7 I got the following error.

  gcc: installation problem, cannot exec
'/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.1.0.0/2.9-aix51-020209/collect2': arg
list too long

 After investigating it I found that the command line size of the shell in
 AIX-5.1 is 24kb. As you know, while gsl Makefile tries to create its
 executable file it fails due to the high number of object files to be linked.

 One of the proposed solution listed on is to
 use a manual approach to incrementally combining the object files
 in smaller groups.

   How can I split the object files in smaller groups and compile them

 Thank you in advance for any help.


On more recent versions of AIX (e.g >= 5.1) use

  chdev -l sys0 -a ncargs=NNN

to increase the allowed number of arguments. NNN is the amount of
space measured in 4k blocks (default 6, maximum 1024)

Note that the main source of information for GSL is the INSTALL file in the distribution itself and our web page is

Brian Gough

Network Theory Ltd,
Publishing the GSL Manual -

reply via email to

[Prev in Thread] Current Thread [Next in Thread]