Detect core and memory availability on multicore and ipython parallel runs. First step in providing general resource planning for memory intensive jobs