[Developers] cannot generate libthorn_CactusBindings.a on IBM SP5 because argument list is too long

Erik Schnetter schnetter at cct.lsu.edu
Tue Dec 4 10:52:37 CST 2007


On Dec 4, 2007, at 04:56:08, Thomas Radke wrote:

> Hi,
>
> the Cactus integration tests (for which the results can be found in  
> the
> portal https://portal.cactuscode.org) are also run every night on  
> an IBM
> SP5 at LSU. There I have the problem that, for a configuration with  
> very
> many thorns, the Cactus bindings library cannot be generated:
>
>> gmake[2]: execvp: ar: The parameter or environment lists are too  
>> long.
>> gmake[2]: *** [/scratch/tradke/Cactus/configs/Einstein/lib/ 
>> libthorn_CactusBindings.a] Error 127
>
> Didn't we once had a similar problems with command lines being too  
> long
> ? Was there a solution to that problem ?


I have a work-around using xargs and some additional make goals.  The  
additional goals build a text file containing all object files, and  
then ar is called via xargs to create the thorn library piecewise.   
See the goal $(NAME), and the additional goals near the end of this  
file.

-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: make.thornlib
Type: application/octet-stream
Size: 5555 bytes
Desc: not available
Url : http://www.cactuscode.org/pipermail/developers/attachments/20071204/23684737/attachment.obj 
-------------- 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/developers/attachments/20071204/23684737/attachment.bin 


More information about the Developers mailing list