[Repronim-trd3] Best way to determine conda architecture?

Robert Buccigrossi robert.buccigrossi at tcg.com
Mon Mar 5 05:30:44 PST 2018


And to be cute Mac reports its 64 bit architecture as "osx-64":

datalads-imac:miniconda butch$ bin/conda info --json | grep platform
  "platform": "osx-64",

Butch

On Mon, Mar 5, 2018 at 8:15 AM Robert Buccigrossi <
robert.buccigrossi at tcg.com> wrote:

> For the record, installing Miniconda 32bit on a 64 bit machine yields an
> appropriate platform string:
>
> # 64 bit:
> [butch at ubuntu ~/.cache/niceman/conda_test] $ miniconda/bin/conda info -a
> --json | grep platform
>   "platform": "linux-64",
> # 32 bit (on the same machine):
> [butch at ubuntu ~/.cache/niceman/conda_test] $ mini32/bin/conda info -a
> --json | grep platform
>   "platform": "linux-32",
>
> Butch
>
> On Mon, Mar 5, 2018 at 6:01 AM Robert Buccigrossi <
> robert.buccigrossi at tcg.com> wrote:
>
>>
>>
>> On Mon, Mar 5, 2018 at 12:11 AM Yaroslav Halchenko <yoh at onerussian.com>
>> wrote:
>>
>>> [...]
>>>
>>
>>
>>> I would have tried on different deployments (e.g. 32bit miniconda as
>>> well) to just rule out it being system's platform.
>>>
>>
>> Will do.
>>
>>>
>>> another option is just to ask conda's python:
>>>
>>> $> ~/anaconda-4.4.0-3.6//bin/python -c 'import platform;
>>> print(platform.architecture())'
>>> ('64bit', 'ELF')
>>>
>>> but hopefully it is the same as option 1 and that one could be used.
>>>
>>
>> OK
>>
>> [...] ---
>>
>>
>>> Yaroslav O. Halchenko
>>> Center for Open Neuroscience     http://centerforopenneuroscience.org
>>> Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
>>> Phone: +1 (603) 646-9834 <(603)%20646-9834>                       Fax: +1
>>> (603) 646-1419 <(603)%20646-1419>
>>> WWW:   http://www.linkedin.com/in/yarik
>>> _______________________________________________
>>> Repronim-trd3 mailing list
>>> Repronim-trd3 at www.nitrc.org
>>> https://www.nitrc.org/mailman/listinfo/repronim-trd3
>>>
>> --
>> *Robert Buccigrossi, Ph.D. PMP PSM-1,* CTO
>> *TCG, Inc. - Positively Distinct* - CMMI-DEV Level 3 - CMMI-SVC Level 3
>> - ISO 9001:2015
>> 202-742-8473 <(202)%20742-8473> | robert.buccigrossi at tcg.com |
>> www.tcg.com
>> <https://www.facebook.com/TCG-32241785903>  <https://twitter.com/TCGnews>
>>  [image: Linkedin] <https://www.linkedin.com/in/robert-buccigrossi-345ab>
>>
> --
> *Robert Buccigrossi, Ph.D. PMP PSM-1,* CTO
> *TCG, Inc. - Positively Distinct* - CMMI-DEV Level 3 - CMMI-SVC Level 3 -
> ISO 9001:2015
> 202-742-8473 <(202)%20742-8473> | robert.buccigrossi at tcg.com | www.tcg.com
> <https://www.facebook.com/TCG-32241785903>  <https://twitter.com/TCGnews> [image:
> Linkedin] <https://www.linkedin.com/in/robert-buccigrossi-345ab>
>
-- 
*Robert Buccigrossi, Ph.D. PMP PSM-1,* CTO
*TCG, Inc. - Positively Distinct* - CMMI-DEV Level 3 - CMMI-SVC Level 3 -
ISO 9001:2015
202-742-8473 | robert.buccigrossi at tcg.com | www.tcg.com
<https://www.facebook.com/TCG-32241785903>
<https://twitter.com/TCGnews> [image:
Linkedin] <https://www.linkedin.com/in/robert-buccigrossi-345ab>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.nitrc.org/pipermail/repronim-trd3/attachments/20180305/ed98ed22/attachment-0001.html>


More information about the Repronim-trd3 mailing list