It is recommend to use MinGW 4.9.2. After installing MinGW 4.9.2 successfully, open the Run
terminal.Figure 1.
Enter gcc –v or gfortran –v to check the MinGW version.
Message indicates a successful installation of the freeware win64 Fortran compiler.Figure 2.
How to compile Starter and Engine file with MinGW?
Copy the Starter file lecm29.f and the Engine file
sigeps29c.f to your working directory, Example:
D:\99_temp\User_Subroutine_example.Figure 3.
You can also use a script to compile. For example, create the script
script.bat. Inside this file define the environment first and then
define the compile command.
Note: Here win64_gfortran is used, but you
also need to use build_userlib_win64_gfortran.bat.
Figure 4.
In your working direction, launch your script script.bat.Figure 5.
After successfully compiling the Starter and Engine (Figure 6), the libraduser_win64.dll file will display in
your working direction.Figure 6. Figure 7.
Launch Radioss model with your user subroutine.
Just copy your libraduser_win64.dll file in the same directory where
you put your Radioss model.
For example, the Radioss model is put in
D:\99_temp\User_Subroutine_example\RADIOSS_RUN. Then copy
libraduser_win64.dll file in this directory.
And launch the Starter and Engine like usual. For example, here the Radioss model with V14.0 SPM is run, like below: