dbeurle / neon

A finite element code
Other
12 stars 8 forks source link

compiler instruction for ubuntu 16.04 #63

Closed thanhchuong8252 closed 5 years ago

thanhchuong8252 commented 6 years ago

g++-7 libssl https hwloc

dbeurle commented 6 years ago

Do you have the commands for adding gcc-7?

thanhchuong8252 commented 6 years ago

i save the history terminal in yesterday's afternoon, maybe it is the hint 20180425_saved_commands.txt 20180424_saved_commands.txt

dbeurle commented 6 years ago

sudo add-apt-repository ppa:ubuntu-toolchain-r/test is probably the one. Thanks

dbeurle commented 6 years ago

It's building and passing the tests on a VM with Ubuntu 16.04. Can you please try and reproduce this using the instructions in the README.md and provide feedback?

thanhchuong8252 commented 6 years ago

when Install dependencies through the package manager: it give some error:

chuongnguyen@chuongnguyen:~/Documents$ sudo apt install cmake git mercurical libz-dev libcurl3-dev libvtk6-dev libtbb-dev libboost-filesystem-dev libmumps-seq-dev libopenblas-dev libarpack2-dev, libscotch-dev, hwloc libhwloc-dev libgfortran-7-dev Reading package lists... Done Building dependency tree
Reading state information... Done Note, selecting 'zlib1g-dev' instead of 'libz-dev' Note, selecting 'libcurl4-openssl-dev' instead of 'libcurl3-dev' E: Unable to locate package mercurical E: Unable to locate package libarpack2-dev, E: Unable to locate package libscotch-dev,

thanhchuong8252 commented 6 years ago

after make all -j8, it give errors:

_collect2: error: ld returned 1 exit status tests/CMakeFiles/constitutive_test.dir/build.make:108: recipe for target 'tests/constitutive_test' failed make[2]: [tests/constitutive_test] Error 1 CMakeFiles/Makefile2:1518: recipe for target 'tests/CMakeFiles/constitutive_test.dir/all' failed make[1]: [tests/CMakeFiles/constitutivetest.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2

dbeurle commented 6 years ago

Can you run

./tests/constitutive_test in the build directory?

dbeurle commented 6 years ago

Did you manage to get this working? There are instructions for Ubuntu 18.04 which I've tested against a clean installation.

thanhchuong8252 commented 6 years ago

Thank Darcy, I will try to compile the code and let you know

shadisharba commented 5 years ago

This issue can be closed now as it is not needed anymore.