Compiling CalculiX ccx on fedora, ubuntu and debian

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
Kunda1
Posts: 4755
Joined: Thu Jan 05, 2017 9:03 pm

Re: Compiling CalculiX ccx on fedora and ubuntu

Postby Kunda1 » Thu Feb 07, 2019 5:12 pm

Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
kkremitzki
Posts: 1638
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Re: Compiling CalculiX ccx on fedora and ubuntu

Postby kkremitzki » Thu Feb 07, 2019 6:53 pm

It's unfortunately probably too late, the soft freeze begins Feb 12th. Gonna try to focus on gmsh and openfoam.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
bernd
Posts: 8017
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Compiling CalculiX ccx on fedora and ubuntu

Postby bernd » Fri Feb 08, 2019 10:18 am

I'd really be interested in compiling ccx for debian buster. Have done this years ago on Jessie, but can't remember how I did that. It should be possible to adapt the ubuntu script for Buster ?!?
User avatar
PrzemoF
Posts: 2598
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: Compiling CalculiX ccx on fedora and ubuntu

Postby PrzemoF » Fri Feb 08, 2019 10:23 am

It might "just work". Are there any iso images of debian buster? I found only Stretch 9.7 so far.

Edit: I think I got something...
User avatar
PrzemoF
Posts: 2598
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: Compiling CalculiX ccx on fedora and ubuntu

Postby PrzemoF » Fri Feb 08, 2019 11:13 am

:D The script works without any problems.
Zrzut ekranu z 2019-02-08 11-10-43.png
Zrzut ekranu z 2019-02-08 11-10-43.png (200.03 KiB) Viewed 223 times
User avatar
PrzemoF
Posts: 2598
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: Compiling CalculiX ccx on fedora, ubuntu and debian

Postby PrzemoF » Fri Feb 08, 2019 12:57 pm

The script doesn't work on ubuntu 16.04.5 LTS due to some linking problems. If someone needs it please post here - there is a manual workaround.
freman
Posts: 370
Joined: Tue Nov 27, 2018 10:30 pm

Re: Compiling CalculiX ccx on fedora, ubuntu and debian

Postby freman » Sun Jul 07, 2019 7:37 pm

I have just used the script to install ccx. Thanks that is just a few tweeks but saves tonnes of messing around.

It's a shame these old and stable libs are not in Fedora distro packages.

What is the score on gmsh ? Fedora gives me 3.0.6 with is at least two years old, not gmsh 4. This is an active project and it seems there has been a lot of changes ( improvements ).

Is v3 good enough or is it worth building ( yetanother ) from source.
User avatar
PrzemoF
Posts: 2598
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: Compiling CalculiX ccx on fedora, ubuntu and debian

Postby PrzemoF » Sun Jul 07, 2019 7:53 pm

freman wrote:
Sun Jul 07, 2019 7:37 pm
I have just used the script to install ccx. Thanks that is just a few tweeks but saves tonnes of messing around.
[..]
Can you share or describe the tweaks please?

I don't know what's with gmesh, but on my fedora 30:

Code: Select all

$ rpm -qi gmsh
Name        : gmsh
Version     : 4.1.5
Release     : 2.fc30
Architecture: x86_64
[..]
freman
Posts: 370
Joined: Tue Nov 27, 2018 10:30 pm

Re: Compiling CalculiX ccx on fedora, ubuntu and debian

Postby freman » Mon Jul 08, 2019 5:17 am

I don't have anything to share , I was commenting on your script which fixes a couple of things by applying patches etc. This would be quite complicated to describe and sort out by hand. Your script saves a lot of fiddling around.

I'm still on Fed29. I was wondering whether F30 had the newer version. Looks like a good time to update. thanks for the info.

Good to find someone else using FreeCAD on Fedora, what graphics driver are you using. I seem to have a lot of problems with nouveau Nvidia driver.
User avatar
PrzemoF
Posts: 2598
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: Compiling CalculiX ccx on fedora, ubuntu and debian

Postby PrzemoF » Mon Jul 08, 2019 6:04 am

OK, thanks! I have an intel card -I didn't see any problems.