Closed millerta closed 1 month ago
/project/eesdev/FEHM/VV_TESTS/VERIFICATION_V3.3.0lnx/transport3D very different from VERIFICATION_V3.4win_64bit_runs_050724/transport3d
Copying the directory to lnx VV does not work, perl scripts fail. Will need to construct fehmpytests using gaz windows that can run either win or linux
This test fails because linux and windows write different formats for the *.trc files. Linux v3.6 and old fehm v3.4 write 6 values in a single line. Windows v3.6 writes 6 values in double lines.
For instance comparing the last values written by xfehm v3.6 linux and windows:
==> out_v3.6_linux/3d_trac_rlp.trc <==
2826250.0000000000 3 Np-237
1.2007296726736700E-003 8.0606903746677176E-003 0.11818645654013919 8.6120469867951230E-002 7.9579742263118335E-003 8.2279789534130988E-004
==> out_v3.6_win/3d_trac_rlp.trc <==
2826250.00000000 3 Np-237
1.200729672673670E-003 8.060690374667718E-003 0.118186456540139
8.612046986795123E-002 7.957974226311833E-003 8.227978953413099E-004
I have not found where the trc values are written, I suspect the error is a problem with a format statement or how an expression is evaluated when a format is determined. Note: New george code (may 2024) replaces write_avs_node_mat.f with write_avs_node_mat_s.f Old calls to subroutine write_avs_node_mat are commented out.
We checked previous VV tests and fehm versions and the WIN .trc files has always used double spacing, and the Linux has always been single space for the 6 values.
I suggest we do not change the format since users will be used to whichever format it has been in the past. Instead, we can modify the fehmpytests transport3d compare scripts to work for 6 values single or double. For now, I will have 2 compare directories compare_lnx and compare_win so we can at least compare by running a solo test. The tester will have to copy the appropriate files into the /compare directory.
If we want to make any changes, Phil suggested looking at plotc1 which Writes the solute information to the .trc
Need development in fehmpytests.py to use the appropriate WIN or Linux .trc files for compare.
Partial fix for success on linux and windows, this works manually. copy appropriate .trc files into compare or adjust fehmpytests to use the appropriate directory compare_lnx for linux runs compare_win for windows runs
Attached is a description of VV tests on windows and linux and how the output are checked. The compare routine uses settings defined in the comparein file. This will also provide the scale values to use as tolerance values in fehmpytests.
fehmpytests allows single or double line output, only the values are compared. We will close this for now unless it is decided to pick one or the other for consistency across platforms.
fehmpytests fails for transport3D (under construction).
3d_trac_rlp.trc 6 columns of data, the file in compare has 3. The version in VV has a complicated set of perl drivers, so I suspect the input files need to be adjusted for this test.
Also, the python scripts do not fail gracefully: