jeanbraun / Pecube

Thermo-kinematic model to invert thermochronological data
GNU General Public License v3.0
20 stars 20 forks source link

Compile Pecube on Windows 11 #37

Open Pirouz193 opened 1 year ago

Pirouz193 commented 1 year ago

Hello, I attempted to compile Pecube on Windows 11 using MinGW and had partial success. I was able to generate the Test, Pecube, and Vtk executable files. Afterwards, I used the Windows command line environment to run the code. The Pecube.exe file worked properly and produced output files, however the test.exe and Vtk.exe did not work and encountered the following errors.

Do you believe these errors can be fixed or do you suggest using a system with Ubuntu instead? I am a bit apprehensive as I have 80 GB of RAM on this PC, but the other computer does not have as much. Could you offer a recommendation? Thank you very much in advance. The errors are as follows:

Test.exe:

`C:\Pecube-master\bin>Test EXMP2 The syntax of the command is incorrect. 'rm' is not recognized as an internal or external command, operable program or batch file. Creating topo files creating Topo file At line 268 of file testTopo.F90 (unit = 30) Fortran runtime error: Cannot open file 'EXMP2/VTK/Topo001.vtk': No such file or directory

Error termination. Backtrace:

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:`

Vtk.exe:

`C:\Pecube-master\bin>Vtk EXMP2 The syntax of the command is incorrect. Doing temperature and velocity Record 1 doing record 0 out of 1 At line 65 of file Vtk.F90 (unit = 30) Fortran runtime error: Cannot open file 'EXMP2/VTK/Pecube000.vtk': No such file or directory

Error termination. Backtrace:

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:`