Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linux Compiling
#17
(08-14-2020, 11:15 PM)ceanwang Wrote: I have a version which includes BANDIT. Got the exe, but has problem to run.Talked with Bill. Need a bit fine turn of the order.

Glad you have a runable exe.

Edit:

I tried to compile with your script under windows. The exe still has problem to run. Could you solve the all-elem-test. dat case?

This is most weird. I managed to run that test case under Linux with my binary, and under Windows with the publicly-released binary, but the one I compiled was no good, there's some error being raised in the output functions.

I attached all input and output data and files from the three runs (public Windows binary, CMake Windows binary, and CMake Linux binary).

Okay so... I have some points I think we should keep in mind while investigating this.

  1. GNU gfortran is a rather consistent compiler for F90/F95, so this being a gfortran bug is unlikely, but not impossible.
  2. Can we guarantee the same source code used for the public EXE is the same as git latest's? If not, this might have been introduced in the meantime.
  3. The fact the exact same source code produces different behavior should trace this error back to the OS-specific files, but none of them are tied to output formatting AFAIK, so this is a bit concerning indeed.
  4. Thanks to some random glitch in MinGW, I can't get a proper backtrace of the error, all we know is it was raised in the BANDIT_MODULE.f file, line 677 (see the output files (stdout/stderr will be of most help) for details)
  5. I do not think this has anything to do with the compilation order/process, as it would've probably caused a link-time diagnostic messag...
  6. ...neither do I think this has anything to do with my only change to the READ_CL source code, since it does not have anything to do with formatted output.
Unfortunately, it'll be really hard to pinpoint where the error's being raised and why until someone manages to get a proper backtrace on the error. I'm working on that, but I don't think I'll be able to do much more than that with my (very) limited knowledge of Fortran.


Attached Files
.zip   ALL-ELEM-TEST_Windows_CMake_EXE.zip (Size: 8.68 KB / Downloads: 0)
.zip   ALL-ELEM-TEST_WIndows_Public_EXE.zip (Size: 138.81 KB / Downloads: 0)
.zip   ALL-ELEM-TEST_Linux_CMake_binary.zip (Size: 129.39 KB / Downloads: 1)
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)