RickKessler / SNANA

Supernova Analysis package
38 stars 23 forks source link

exceeding MXROW = 5000 in SEARCHEFF_zHOST_FILE #474

Closed pmacias closed 3 years ago

pmacias commented 3 years ago

Hi Rick,

In

cd /project2/rkessler/SURVEYS/WFIRST/ROOT/analysis_inputs/sim

running

snlc_sim.exe SIMGEN_WFIRST_Allz_SNIA.input

I get an error because the searcheff file is very large:

Read zHOST-for-unconfirmed effic map from euclid_shallow

|```````|
<| o\ /o |>
| ' ; ' |
| | ABORT program on Fatal Error. | |' '| |
| `---' |
____
/

FATAL ERROR ABORT called by read_GRIDMAP NROW_READ=5000 exceeds MXROW=5000 NDIM=2 NFUN=1 callFun=read_zHOST_FILE

The file is located here

/project2/rkessler/SURVEYS/WFIRST/ROOT/analysis_inputs/sim/euclid_shallow

and is about half a gig. We were able to get this to work when pointing to the "dummy" file zHOST_eff.DAT .

Thanks! -Phil

RickKessler commented 3 years ago

Above job runs fine. Also note: grep zHOST SIMGEN_WFIRST_Allz_SNIA.input SEARCHEFF_zHOST_FILE: searcheff/euclid_deep grep HOSTEFF searcheff/euclid_deep | wc 3722 14888 178656

and 3722 < 5000

pmacias commented 3 years ago

Hi Rick,

Thanks!

I had Ryan increase the bin size to get past this in the meantime. The file was ~10 million lines before and running into that issue.

On Mon, May 3, 2021 at 2:45 PM RickKessler @.***> wrote:

Above job runs fine. Also note: grep zHOST SIMGEN_WFIRST_Allz_SNIA.input SEARCHEFF_zHOST_FILE: searcheff/euclid_deep grep HOSTEFF searcheff/euclid_deep | wc 3722 14888 178656

and 3722 < 5000

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RickKessler/SNANA/issues/474#issuecomment-831555190, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABACUXKDAT2ARYVR6RNV273TL4KPHANCNFSM44BMUUBA .

--

Phil Macias Department of Astronomy and Astrophysics UC Santa Cruz people.ucsc.edu/~pmacias