11-17-2022, 05:08 PM
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.
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.