I haven't use the hack recently, and only used it on older (3.x) versions
of modules, but in my cases just using set and a Tcl var worked. But also
my situation was only dealing with a single modulerc file as well.
I would suggest trying full-fledged env variables and see if that makes a
difference.
Otherwise, you might want to see if you can create and post a minimalist
example of the issue --- I am only guessing that your issue is the same as
the one I am referring to (I do not even recall the exact error message for
the issue I am referring to, but it was similar to yours), but your issue
might be something completely different. It is hard to tell from just an
error message.
On Thu, Oct 7, 2021 at 11:53 AM Robbin Bonthond <ro...@bo...> wrote:
> hi,
>
> Thank you for the hint, do I need to use environment variables? it seems
> that a "set x y" isn't global between various .modulerc files.
>
> robbin
>
> On Wed, Oct 6, 2021 at 6:59 PM Thomas M. Payerle <pa...@um...> wrote:
>
>> You might want to look at
>> https://kb.hlrs.de/platforms/index.php/Module_command
>> Toward the end, Global Default section.
>>
>> Basically, for each module version invocation, create an unique env
>> variable and test for the env variable before doing the module version call.
>>
>> It's an ugly hack, but it gets the job done
>>
>>
>> On Wed, Oct 6, 2021 at 4:24 PM Robbin Bonthond <ro...@bo...>
>> wrote:
>>
>>> Hello,
>>>
>>> Is there a way to turn off the warning "WARNING: Symbolic version
>>> 'tool/default' already defined"?
>>>
>>> Robbin
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Modules-interest mailing list
>>> Mod...@li...
>>> https://lists.sourceforge.net/lists/listinfo/modules-interest
>>>
>>
>>
>> --
>> Tom Payerle
>> DIT-ACIGS/Mid-Atlantic Crossroads pa...@um...
>> 5825 University Research Park (301) 405-6135
>> University of Maryland
>> College Park, MD 20740-3831
>> _______________________________________________
>> Modules-interest mailing list
>> Mod...@li...
>> https://lists.sourceforge.net/lists/listinfo/modules-interest
>>
> _______________________________________________
> Modules-interest mailing list
> Mod...@li...
> https://lists.sourceforge.net/lists/listinfo/modules-interest
>
--
Tom Payerle
DIT-ACIGS/Mid-Atlantic Crossroads pa...@um...
5825 University Research Park (301) 405-6135
University of Maryland
College Park, MD 20740-3831
|