v1kko / daetools

Import from daetools svn
GNU General Public License v3.0
8 stars 2 forks source link

DAETools in arch64 linux #4

Open RhayWenn opened 2 years ago

RhayWenn commented 2 years ago

Hi, @v1kko !

Could you help me in a issue, please?

How could I install DAETools in arch64 Linux (Ubuntu)? I have tried to install directly from conda-forge, but it appears to be available only in linux-64 repo. Is that correct?

The command "conda create --name daetools -c conda-forge daetools python=3.9" fails in finding daetools in Arch linux.

I tried to force the installation, specifying the url of the conda-forge repository (https://conda.anaconda.org/conda-forge/linux-64) and it worked in installing daetools.

However, when calling daetools.pyDAE modules, it cannot find pyCore, pyActivity and other modules.

I have succesfully installed DAEtools in Ubuntu (linux-64) and Windows 10. I realized that the modules pyCore, pyActivity...should really be in pyDAE folder (in the form of file pyCore.pyd, pyActivity.pyd ... or pyCore.so, pyActivity.so ...). But in arch linux, after the installation, these files are missing! What do i do?

I would appreciate your help very much!

Thx!

v1kko commented 2 years ago

Hi @RhayWenn,

Yes, it is correct that this package is only available pre-compiled for linux on the amd64 architecture (linux-64) repository.

The command "conda create --name daetools -c conda-forge daetools python=3.9" fails in finding daetools in Arch linux.

Does this mean a linux with aarch64 architecture? Or the Archlinux distribution? or both?

There is currently no pre-compiled binary for aarch64 (arm) architecture, so the only way to install it there would be to compile from source. If someone where to find a way to compile it for aarch64, I can add the recipe to the conda-forge repository (https://github.com/conda-forge/daetools-feedstock/blob/main/recipe/build.sh) and make it available via conda for everyone.

Having said that, this package has no true maintainer (I am just keeping it on life-support), and I would recommend moving to something like https://fenicsproject.org/ if possible.

RhayWenn commented 2 years ago

Hi, @v1kko ! Thank you for the explanation! Yes, I mean a linux with aarch64 architeture. I'm not so skillfull in compiling from source. But if I get a successfull compilation, I will share with you for sure.

Thx!!