Open spencerhurt opened 3 years ago
Hi Spencer,
If no output file is being generated then it could be a problem with the MOOG installation. Please type 'MOOGSILENT' in your console, if it executes something then it means the problem is somewhere else, and if it doesn't then it means MOOG is not correctly installed. I'll do my best to help with both cases.
Typing MOOGSILENT
into my console doesn't return anything. I've tried going through the steps outlined in the wiki to build MOOG but after running make -f Makefile.maclapsilent
, the following error is returned:
OpacHydrogen.f:163:50:
163 | call linter (wfflog,fflog(1,itheta),nnnn,wavelog,fftlog,1)
| 1
Error: Rank mismatch in argument 'xnew' at (1) (rank-1 and scalar)
OpacHydrogen.f:169:47:
169 | . maxwave = map1(wbf,bf,nnnn,wave,hminbf,1)
| 1
Error: Rank mismatch in argument 'xnew' at (1) (rank-1 and scalar)
make: *** [OpacHydrogen.o] Error 1
Spencer,
I encountered the same issue when installing SPECIES & MOOG a few weeks ago. It seems the syntax in the OpacHydrogen.f
file is no longer supported with some fortran compilers. If you're using gfortran, you should be able to get it to work by adding the -fallow-argument-mismatch
flag to the make -f Makefile.maclapsilent
call.
See the related issue & solution here: https://github.com/scipy/scipy/issues/11611
I've tried running SPECIES on several different spectra, including the example solar spectrum. After calculating the line widths, the code always throws an error with the following output in the log:
While running the code, nothing appears in the
output
directory. I've tried pinning down why the./output/{alias}_out.test
file isn't generated but haven't found anything and was hoping you could help. Thanks in advance!