I am a complete stranger to Fortran 77 and relatively new to Ubuntu.
I need to get Xrotor running on a Ubuntu 20.04 machine. I referred to the hints reported here, installed gfortran
and libx11-dev
packages, then I edited ./plotlib/config.make
as shown in the answer I linked and did so also for ./bin/Makefile.gfortran
. I also added -fallow-argument-mismatch -std=legacy
flags to workaround errors related to rank mismatch at several points in the code (as far as I was able to understand - please forgive me for my poor techincal skills, knowledge and jargon).
When I run make -f Makefile.gfortran
everything seemed to be just fine, but as I try to run Xrotor I get this same output
~/Xrotor/bin$ ./xrotor
=========================
XROTOR Version 7.55
=========================
Note: The following floating-point exceptions are signalling: IEEE_DENORMAL
STOP COLORSPECTRUM: Non-monotonic color axis. Check COLWIDTH.
I understood that this could be due to an exception which is thrown when numerical errors occour. I also added
COLWIDTH=(/1.0,1.20000005,0.5,1.4,1.0,1.20000005,1.5/)
in /plotlib/plt_color.f
after line 508 (although I'm not really sure that was the right spot to put it) as explained there, and did make -f Makefile.gfortran
again. I believe this is supposed to prevent the COLORSPECTRUMTRP
subroutine to STOP
the exectution, but it doesn't work. Finally, I also tried to cancel these lines
if(COLAXIS(ibase) .LE. COLAXIS(ibase-1))
& STOP 'COLORSPECTRUM: Non-monotonic color axis. Check COLWIDTH.'
from plt_color.f
, yet to no avail.
Any suggestions? What am I missing? Please let me know if I need to provide further information or to attach the files I edited.