Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Windows Complie Issue
#3
Just the alternative for equation.com gcc gfortran, that doesn't came with msys and pacman.


i use the batch file to create mystran.exe from gcc.exe gfortran.exe
1. copy all mystran on c:\mystran for example : latest on 14.01 with folder mystran-main
2. create first folder opeblas in mystran-main.
copy openblas x64 binary for faster blas lapack solver https://github.com/xianyi/OpenBLAS/relea...21-x64.zip into folder openblas in mystran-main,
all in dll dll.a and .h header
3. copy superlu src folder to superlu\gcc_src folder https://github.com/xiaoyeli/superlu/arch...v5.3.0.zip with c_fortran_dgssv.c in fortran folder into same folder gcc_src.
(rename default src from zipper to gcc_src)
4. create output folder in mystran-main
4. download batch file
https://pastebin.com/G4C9jN5c gcc_fortran4.rsp
https://pastebin.com/X89YMb8C gcc_fortran4.bat
copy 2 files into c:\mystran folder
set path=%path%;c:\gcc\bin or whatever folder gcc equation.com installed.
go to folder c:\mystran via cmd.exe
run gcc_Fortran4.bat
5. the mystran.exe is on output folder
6. to run it will need openblas.dll in step2, superlu.dll.a that compiled in step 3.
Reply


Messages In This Thread
Windows Complie Issue - by Admin - 10-18-2022, 08:41 PM
RE: Windows Complie Issue - by Admin - 10-18-2022, 09:03 PM
RE: Windows Complie Issue - by realbabilu - 11-17-2022, 05:08 PM
RE: Windows Complie Issue - by Admin - 11-17-2022, 09:50 PM
RE: Windows Complie Issue - by realbabilu - 11-18-2022, 10:23 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)