nodal-dg icon indicating copy to clipboard operation
nodal-dg copied to clipboard

Trouble making nudg++ on Linux

Open cbcoutinho opened this issue 9 years ago • 4 comments

I was able to get the MATLAB code running, but I can't seem to build the c++ version (I'm guessing it's a c++ version of the MATLAB code?)

I'm trying to build nudg++ on openSUSE Tumbleweed, a rolling relase Linux distribution.

At first glance, I'm getting a bunch of ISO c++ warnings, maybe it has to do with a compiler version mismatch? I'm using gcc 6.2.1 - what compiler is required for this to build correctly?

Please see the output of make Maxwell2D attached here: make.txt

cbcoutinho avatar Nov 12 '16 22:11 cbcoutinho

I encountered the same problem. I want to install nudg ++ on Linux, but I do not know how to do it. If you finally solved your problem, could you please tell me about your solution?

BlackOBlack avatar Nov 14 '17 00:11 BlackOBlack

Hi @BlackOBlack,

I wasn't able to get this working. If you make any head way let me know

cbcoutinho avatar Nov 15 '17 13:11 cbcoutinho

Just yesterday I had successfully run nudg ++ on Linux. My operating system is RedHat Linux and my compiler is gcc-4.9 and gfortran-4.9.1. I modified the contents of the 'system.mk' file(see the attached file system.txt). If there are any problems, maybe I can give you some advice. Just contact me.

system.txt

BlackOBlack avatar Nov 15 '17 14:11 BlackOBlack

Just yesterday I had successfully run nudg ++ on Linux. My operating system is RedHat Linux and my compiler is gcc-4.9 and gfortran-4.9.1. I modified the contents of the 'system.mk' file(see the attached file system.txt). If there are any problems, maybe I can give you some advice. Just contact me.

system.txt

Hi, my system is WSL ubuntu 22.04, I cannot make files in WSL as well, could you please give me some hint to modify the system.mk?

tomtangtrp avatar Sep 02 '23 09:09 tomtangtrp