You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mac smokeview not showing slice menu in an hvac case #2673
this may be an FDS problem. the .smv file has SLCF entries when the case is run on a PC. when the case is run on a mac there are no SLCF entries which is why there is not a slice file menu
@drjfloyd This happened because your input file did not have a return at the end or your last line, which was the SLCF line. The end of line behavior is different on macOS/linux and Windows.
I want to propose that we go back to forcing at &TAIL/ line at the end of the input file. This line ending thing has bitten me many times.
ChatGPT suggests "A robust approach would be to normalize input into a temporary formatted file before reading its namelists, ensuring every record—including the last—has a line ending. How a compiler maps an unterminated external text line into a Fortran formatted record can vary, so checking IOSTAT alone will not resolve that portability issue."
On Fri, Oct 2, 2026, 10:37 AM Kevin McGrattan ***@***.***> wrote:
*mcgratta* left a comment (firemodels/smv#2673)
<#2673 (comment)>
ChatGPT suggests "A robust approach would be to normalize input into a
temporary formatted file before reading its namelists, ensuring every
record—including the last—has a line ending. How a compiler maps an
unterminated external text line into a Fortran formatted record can vary,
so checking IOSTAT alone will not resolve that portability issue."
—
Reply to this email directly, view it on GitHub
<#2673?email_source=notifications&email_token=AC6UCRU42KNTEWMWBVQ4BOL5R64SBA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJVGQ3TQMRUGUYKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-5954782450>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC6UCRSMTHETKQ3BNH2E77T5R64SBAVCNFSNUABEKJSXA33TNF2G64TZHM3DOMBVGE3DCOB3JFZXG5LFHM2TMNZSGQ2DEOJVGOQXMAQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
Sure, but that might be something that people forget to do, or they're reading in older files. If it's only a few lines of code to copy the input file into a dummy file and add the TAIL, that might let us eat cake.
Activity
gforney commentedon Oct 2, 2026
this may be an FDS problem. the .smv file has SLCF entries when the case is run on a PC. when the case is run on a mac there are no SLCF entries which is why there is not a slice file menu
rmcdermo commentedon Oct 2, 2026
@drjfloyd This happened because your input file did not have a return at the end or your last line, which was the SLCF line. The end of line behavior is different on macOS/linux and Windows.
I want to propose that we go back to forcing at &TAIL/ line at the end of the input file. This line ending thing has bitten me many times.
mcgratta commentedon Oct 2, 2026
ChatGPT suggests "A robust approach would be to normalize input into a temporary formatted file before reading its namelists, ensuring every record—including the last—has a line ending. How a compiler maps an unterminated external text line into a Fortran formatted record can vary, so checking IOSTAT alone will not resolve that portability issue."
gforney commentedon Oct 2, 2026
mcgratta commentedon Oct 2, 2026
Sure, but that might be something that people forget to do, or they're reading in older files. If it's only a few lines of code to copy the input file into a dummy file and add the TAIL, that might let us eat cake.
gforney commentedon Oct 25, 2026
@mcgratta I've forgotten has this been fixed?