Synthetic3D:GridDataReader

Numerical methods and mathematical models of Elmer
Post Reply
jeffjoy
Posts: 23
Joined: 10 Nov 2020, 04:01
Antispam: Yes

Synthetic3D:GridDataReader

Post by jeffjoy »

I study the new elmer/ice coueses about the Synthetic3D Step1 in the official website,and i have produced the nc files,but when i run the ElmerSolver,i met the error!who konws,please

GridDataReader: cannot open shared object file: No such file or directory
GridDataReader.so: cannot open shared object file: No such file or directory
./GridDataReader: cannot open shared object file: No such file or directory
./GridDataReader.so: cannot open shared object file: No such file or directory
/usr/share/elmersolver/lib/GridDataReader: cannot open shared object file: No such file or directory
/usr/share/elmersolver/lib/GridDataReader.so: cannot open shared object file: No such file or directory
Attachments
图像 2.png
图像 2.png (89.03 KiB) Viewed 1091 times
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Synthetic3D:GridDataReader

Post by kevinarden »

It means the GridDataReader solver is not there, it is an ElmerIce solver and does not come with Elmer, you have to install with ElnerIce, How was Elmer installed on your system?
jeffjoy
Posts: 23
Joined: 10 Nov 2020, 04:01
Antispam: Yes

Re: Synthetic3D:GridDataReader

Post by jeffjoy »

kevinarden wrote: 24 Nov 2021, 13:27 It means the GridDataReader solver is not there, it is an ElmerIce solver and does not come with Elmer, you have to install with ElnerIce, How was Elmer installed on your system?
I install it using the following code

Code: Select all

sudo apt-add-repository ppa:elmer-csc-ubuntu/elmer-csc-ppa
sudo apt-get update
sudo apt-get install elmerfem-csc-eg
sudo apt-get install elmerfem-csc
Is there have any questions?
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Synthetic3D:GridDataReader

Post by kevinarden »

That does not install ElmerIce, only Elmer

http://elmerfem.org/elmerice/wiki/doku. ... ationcmake
jeffjoy
Posts: 23
Joined: 10 Nov 2020, 04:01
Antispam: Yes

Re: Synthetic3D:GridDataReader

Post by jeffjoy »

kevinarden wrote: 24 Nov 2021, 14:32 That does not install ElmerIce, only Elmer

http://elmerfem.org/elmerice/wiki/doku. ... ationcmake
Thank you!My brother
jeffjoy
Posts: 23
Joined: 10 Nov 2020, 04:01
Antispam: Yes

Re: Synthetic3D:GridDataReader

Post by jeffjoy »

Hello,I met a new question,in the course Step2,

Code: Select all

../SRC/Compute2DNodalGradient: cannot open shared object file: No such file or directory
The Compute2DNodalGradient is a Compute2DNodalGradient.f90 file;
Then I use the code elmerf90 -o Compute2DNodalGradient.so Compute2DNodalGradient.F90;i met a error ,do you know?
Attachments
微信图片_20211126161431.png
微信图片_20211126161431.png (82.5 KiB) Viewed 1064 times
微信图片_20211126161200.png
微信图片_20211126161200.png (95.59 KiB) Viewed 1065 times
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Synthetic3D:GridDataReader

Post by raback »

Hi

I guess this solver is not in the repository? Try to replace "interface" with "nodeinterface". The word "interface" is reserved and hence we changed it.

-Peter
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Synthetic3D:GridDataReader

Post by kevinarden »

DO i=1,Solver%Mesh % NumberOfNodes
IF (.NOT.ActiveNode(i)) CYCLE
IF (.NOT.Solver % Mesh % ParallelInfo % NODEINTERFACE(i) ) CYCLE

n_count = 0
DO i=1,Model % NumberOfNodes
IF (.NOT.ActiveNode(i)) CYCLE
IF (.NOT.Solver % Mesh % ParallelInfo % NODEINTERFACE(i) ) CYCLE

Changing the word INTERFACE to NODEINTERFACE in 2 places allows elmerf90 to compile the solver to create an so file.
Post Reply