Build NASA NSTRAIN-95 in Windows by MSYS2

Although there is no technical support available for NASA NSTRAIN-95 there is a fork here which runs reasonably well on Linux https://github.com/ldallolio/NASTRAN-95/. It confirms work well in windows 7 also as follows:

1. Install MSYS2
2. Install following software in MSYS2
   pacman -S autoconf automake libtoll
   pacman -S gcc gcc-fortran
   pacman -S git
3. Download NASTRAIN -95 by git clone https://github.com/Idallolio/NASTRAN-95.git
4. Modify file /mds/nastrn.f
   COMMON / ZZZZZZ / IZ(400000000)   => IZ(4000000)
   LENOPC = 400000000                        =>  LENOPC = 4000000
which depends upon your memory size
5. In directory where NASTRAIN-95 downloaded, run
   sh bootstrap and make
the exe file nastran.exe will be generated in subdirectory /mds

没有评论:

发表评论

VS Code下cmake, c++编译,调试环境的构成步骤

1   下载必须extension      按[Ctrl+Shift+X]打开extension窗口,选择安装"C/C++", "CMake", "CMake Tools" 2   在VSCode下打开作业目录 ...