Quantics for macOS issues

Hello,

I’ve been able to compile the quantics code on mac, however, I’m having this issue when I try to run it:

85-G3-042087-25:tgwp u5727811$ quantics -w tgwp_test
At line 254 of file /Users/u5727811/Software/quantics/HDmctdh/propwf/outputmod.f90 (unit = 31, file = '/Users/u5727811/Software/quantics/tgwp/tgwp_test/expectation')
Fortran runtime error: Missing comma between descriptors
(f10.3,1xx,f11.8,1x,90(1p2e16.8,1x))
                                  ^

Error termination. Backtrace:
#0  0x10525dc67
#1  0x10525e68f
#2  0x10525ee87
#3  0x105322bb3
#4  0x10532f983
#5  0x100a4efdb
#6  0x100a83597
#7  0x100a9730b
#8  0x10096cee7
#9  0x101276bdb

It seems to be a syntax issue caused by macOS compilers (according to ChatGPT). Has anyone had similar issues or has some advice on running quantics on mac?

Replacing the ‘1xx’ format descriptor to ‘2x’ then recompiling fixes the issue.

Cheers!

@AdamOHare I just noticed this topic. Unless this is already fixed, perhaps this could be a good merge request to make?

I was planning on doing this during the hackathon, but it has already been fixed.

1 Like

It looks like the fix by @kevin for MacOS compilation issue has been merged on should be available on master-dev, maybe you could test it out @AdamOHare?

I’ve implemented the changes to my own branch, and the issue has been solved! Sorry, I should have mentioned

1 Like