Closed shahram10715 closed 4 years ago
Hi.
Yes, there is already a script written by @berndhahnebach that installs xc on Ubuntu. Take a look here.
@shahram10715
would be cool if you could give some feedback if the scripts worked for you!
cheers bernd
dear Mr. @berndhahnebach First of all sorry for my late response, I tried the script and I encountered the following error
mayavi-4.6.2.tar.bz2
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named setuptools```
then I tried manually the following command:
sudo apt install mayavi2
again I had trouble installing mayavi, and it was due to vtk libraries, so first I installed:
sudo apt install vtk7
after these steps everything was working properly until run_verif.sh. I realized that tkinter was installed by means Anaconda and didn't recognized. So again, I install python-tk and python3-tk manually. the thing that I couldn't fix was an error in run_verif.sh for xc directory. Here id the error:
Verifiyng misc. utilities.
ERROR:root:rcond.py ERROR.```
I appreciate any information you can provide.
Which version of ubuntu do you use? Do you use original ubuntu?
I'm using the latest version of mint which is 19.1 on virtualbox.
Hi. This test (rcond.py) is on the directory xc/verif/tests/utility. Could you uncomment the line:
run the test and copy its output here?
here is the output of my verification, I can see two more errors in this file:
https://github.com/shahram10715/myPasteBeeens/blob/master/logFile01.txt
Hi.
I see two errors: the first one in 'test_fiber_section_shear3d_02.py' I think is due to a numerical issue anyway the error reported is really small (0.00513). I'll take a look.
The second one is more mysterious. For some reason your Lapack implementation seems to return a different value for the condition number. I've added another test using Numpy to test again that the result are correct (see the new version of rcond.py in the repository).
again the same problem with the following output: https://github.com/shahram10715/myPasteBeeens/blob/master/logFile02.txt
Yeah, the only difference is that, now, we know there is a problem with the calling to the LAPACK dlange function:
Maybe "linux mint" uses a different version of LAPACK libraries. I have not the time to deal whit this right now but I'll take a look soon. Nevertheless, this is not a critical error. The program can be used normally despite this problem.
Is there any possibility to write a bash script to execute the commands:
https://github.com/xcfem/xc/blob/master/install/install.linux.md
and install xc on Ubuntu?