Search found 14 matches

by ceanwang
04 Apr 2021, 06:27
Forum: Installation & compilation
Topic: Compile ElmerFem under Windows 10 with MinGW-W64 GCC-8.1.0
Replies: 0
Views: 3740

Compile ElmerFem under Windows 10 with MinGW-W64 GCC-8.1.0

Hi, Trying to compile Elmer Fem under Windows 10 with MinGW-W64 GCC-8.1.0 (Downloaded from here https://sourceforge.net/projects/mingw-w64/files/) Got an error for realtime() between VelocityUpdate.F90 and LoadMod.F90: D:\00master\elmerfem-devel\fem\build_win10>make CMakeFiles/f90.dir/depend.make:85...
by ceanwang
03 Apr 2021, 06:43
Forum: Installation & compilation
Topic: Invalid character errors (Solved)
Replies: 6
Views: 7736

Re: Invalid character errors (Solved)

I also got this error. Using gfortran 8.1 under WIndows 10. ref this: https://www.ibm.com/docs/en/xl-fortran-linux/15.1.5?topic=attributes-contiguous-fortran-2008 INTEGER, CONTIGUOUS, POINTER :: ap(:) Changed all CONTIG to CONTIGUOUS and added , between CONTIGUOUS and POINTER or DIMENSION, then can ...
by ceanwang
02 Apr 2021, 05:59
Forum: Installation & compilation
Topic: Build report Debian/testing (bullseye)
Replies: 10
Views: 9536

Re: Build report Debian/testing (bullseye)

Haven't found an ElmerTester.exe under bin folder.

I compiled one under Windows 10.
tester.jpg
tester.jpg (95.87 KiB) Viewed 5680 times
by ceanwang
31 Mar 2021, 04:24
Forum: Installation & compilation
Topic: Compile ElmerGUI under Windows 10 with VS
Replies: 12
Views: 6882

Re: Compile ElmerGUI under Windows 10 with VS

HI, Maybe you could drop "VTK" if that is problematic. Most people use Paraview anyways. -Peter I just want to use vtkPost to see why it can't read my ascii vtu file. I build vtk8.2 by myself with Module_vtkGUISupportQtOpenGl, Module_vtkGUISupportQt and Module_vtkGUISupportMFC ticked. and...
by ceanwang
31 Mar 2021, 04:03
Forum: Installation & compilation
Topic: Compile ElmerGUI under Windows 10 with VS
Replies: 12
Views: 6882

Re: Compile ElmerGUI under Windows 10 with VS

kevinarden wrote: 30 Mar 2021, 12:17 According to the documentation you have to have at least QT5.4 version.
https://github.com/FreeCAD/FreeCAD/releases/tag/0.19.1

FreeCADLibs_12.5.3_VC1.7 updates QT 5.15.1.

I am using 12.5.1, its QT should be higher than 5.4
by ceanwang
30 Mar 2021, 02:22
Forum: Installation & compilation
Topic: Compile ElmerGUI under Windows 10 with VS
Replies: 12
Views: 6882

Re: Compile ElmerGUI under Windows 10 with VS

QVTKOpenGLNativeWidget.h from VTK package is needed, it is in VTK-8.2.0\GUISupport\Qt, but seems FreeCADLib doesn't include it. I have to build VTK by myself.
by ceanwang
29 Mar 2021, 06:04
Forum: Installation & compilation
Topic: Compile ElmerGUI under Windows 10 with VS
Replies: 12
Views: 6882

Re: Compile ElmerGUI under Windows 10 with VS

https://github.com/ElmerCSC/elmerfem/blob/devel/ElmerGUI/Application/plugins/egmesh.cpp#L10114 int DestroyInverseTopology(struct FemType *data,int info) { DestroyCRSMatrix( &data->invtopo ); } int DestroyDualGraph(struct FemType *data,int info) { DestroyCRSMatrix( &data->dualgraph ); } These...
by ceanwang
29 Mar 2021, 05:35
Forum: Installation & compilation
Topic: Build report Debian/testing (bullseye)
Replies: 10
Views: 9536

Re: Build report Debian/testing (bullseye)

KaiMartin wrote: 13 Apr 2020, 10:58 The build looks fairly complete now. From the major options of cmake only VTK, ElmerGUILogger and ElmerGUITester are missing. Like you said, VTK is
Is ElmerGUITester any real use?
by ceanwang
29 Mar 2021, 05:30
Forum: Installation & compilation
Topic: Debian removal of Qt4 in Bullseye and beyond
Replies: 4
Views: 6051

Re: Debian removal of Qt4 in Bullseye and beyond

KaiMartin wrote: 08 Sep 2020, 03:09 Apparently, most of Elmer is already converted to QT5. The only cmake option that did not compile due to missing QT4 libraries was PYTHONQT - not sure what this is needed for. I was able to play with some of the simulations in the tutorials.
There is one PYTHONQT folder under ElmerGUI.
by ceanwang
29 Mar 2021, 04:51
Forum: Installation & compilation
Topic: Compile ElmerGUI under Windows 10 with VS
Replies: 12
Views: 6882

Re: Compile ElmerGUI under Windows 10 with VS

https://github.com/ElmerCSC/elmerfem/blob/devel/ElmerGUI/Application/plugins/egnative.cpp#L31 #include <stdio.h> #include <unistd.h> #include <stddef.h> #include <stdlib.h> #include <string.h> #include <math.h> #if HAVE_UNISTD_H #include <unistd.h> #endif The first #include <unistd.h> should be dele...