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

Erik Schnetter schnetter at cct.lsu.edu
Wed Dec 5 12:17:29 CST 2007


On Dec 5, 2007, at 11:44:39, Thomas Radke wrote:

> Erik Schnetter wrote:
>> 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.
>
> Thanks, Erik ! I tried with your modified version of make.thornlib,
> however it seems I'm missing some other modification of yours:
>
>> gmake[3]: *** No rule to make target `deps'.  Stop.
>> gmake[2]: *** [make.checked] Error 2
>> gmake[1]: *** [/scratch/tradke/Cactus/configs/Einstein/lib/ 
>> libthorn_A1JobChaining.a] Error 2


Here is my file make.subdir, which contains the target "deps"

-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.subdir
Type: application/octet-stream
Size: 1285 bytes
Desc: not available
Url : http://www.cactuscode.org/pipermail/developers/attachments/20071205/5fc6d6fd/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/20071205/5fc6d6fd/attachment.bin 


More information about the Developers mailing list