Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linux Compiling
#12
(08-13-2020, 05:54 PM)Admin Wrote: That sounds great. Both Bill and I are new to GitHub, but we will try to get it all sorted out. Is there a way to test this on Windows as well? That would be very helpful since the developer for OP2 output has had an issue with CodeBlocks and a more direct process might be best. Thanks for the help, it seems you know quite about this (as well as NASTRAN-95). Based on your comments about NASTRAN-95 in the other thread, I think MYSTRAN is a great alternative.

Regarding Windows, I think it'll be all the same. I mean, if we're compiling with gfortran, it's pretty okay to assume there's a GNU environment (e.g. make, as, ld, ar), be it a real Linux environment or a Windows environment with MinGW installed (which you'll already have downloaded in order to have gfortran in the first place); so all one would otherwise need to compile is CMake and the repo.

So, regardless of being Windows or Linux, as long as there's a GNU environment and CMake, one would simply invoke cmake then make. The process would play out just the same, save for automatically picking the "OS-specific" files as opposed to user intervention. And there's more: with a little bit of effort, I believe this could be cross-compiled as well, meaning a Linux machine could compile binaries for Windows in the future if need be.

As for testing under Windows, I'll get to that soon enough, but the outlook is good. In the end, I'll only make the pull request when I'm sure we have a reliable build spec that works seamlessly for both OSes.

And yes, MYSTRAN appears to be the most promising OSS alternative, that's why I really really want this to work.
Reply


Messages In This Thread
Linux Compiling - by O_Stodieck - 08-06-2020, 08:58 AM
RE: Linux Compiling (CMake) - by borges - 08-11-2020, 12:02 PM
RE: Linux Compiling - by drbillc - 08-11-2020, 06:41 PM
RE: Linux Compiling - by borges - 08-11-2020, 08:50 PM
RE: Linux Compiling - by drbillc - 08-12-2020, 03:35 PM
RE: Linux Compiling - by borges - 08-13-2020, 12:18 PM
RE: Linux Compiling - by Admin - 08-12-2020, 07:43 PM
RE: Linux Compiling - by Admin - 08-13-2020, 02:15 PM
RE: Linux Compiling - by borges - 08-13-2020, 03:00 PM
RE: Linux Compiling - by Admin - 08-13-2020, 05:54 PM
RE: Linux Compiling - by borges - 08-13-2020, 07:17 PM
RE: Linux Compiling - by Admin - 08-13-2020, 08:22 PM
It works! - by borges - 08-14-2020, 02:31 AM
RE: Linux Compiling - by Admin - 08-14-2020, 06:05 AM
RE: Linux Compiling - by ceanwang - 08-14-2020, 11:15 PM
RE: Linux Compiling - by borges - 08-17-2020, 01:20 PM
RE: Linux Compiling - by borges - 08-17-2020, 02:59 PM
RE: Linux Compiling - by ceanwang - 08-19-2020, 06:19 AM
Linux Compiling - by Admin - 08-06-2020, 10:40 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)