Multiwfn forum

Multiwfn official website: //www.umsyar.com/multiwfn. Multiwfn forum in Chinese: http://bbs.keinsci.com/wfn

You are not logged in.

#12018-08-25 18:30:25

yurivict
Member
Registered: 2018-08-25
Posts: 6

Please make it compatible with gfortran

I tried to build it on FreeBSD, and it doesn't build.

After replacing ifort->gfortran, removing some ifort-specific options, and adding -ffree-line-length-none, it still fails:

gfortran7 -O1 -openmp -pthread -openmp-link=static -ffree-line-length-none -c define.f90
define.f90:50:38:

character*10 :: colorname(15)=(/"Red","Green","Blue","White","Black","Gray","Cyan","Yellow","Orange","Magenta","Crimson","Dark green","Purple","Brown","Dark blue"/) !Color name involved setcolor/selcolor routine
1
Error: Different CHARACTER lengths (3/5) in array constructor at (1)
define.f90:410:4:

use defvar
1
Fatal Error: Can't open module file 'defvar.mod' for reading at (1): No such file or directory

-----------------

ifort isn't available on FreeBSD, it is closed-source.

Offline

#22018-08-26 06:19:10

sobereva
Tian Lu (Multiwfn developer)
From: Beijing
Registered: 2017-09-11
Posts: 1,768
Website

Re: Please make it compatible with gfortran

Dear yurivict,

I am not sure how to solve this problem, I never use gfortran for compiling Multiwfn, since requirement on grammar by gfortran is too strict. It is worth to note that there is a third-part redistribution of Multiwfn named gMultiwfn (https://github.com/stecue/gMultiwfn), it is seemingly fully compatible with gfortran, you can have a try.

Best regards,

Tian

Offline

#32018-08-26 18:15:56

yurivict
Member
Registered: 2018-08-25
Posts: 6

Re: Please make it compatible with gfortran

Thank you, Tian,

I will look at this github project.

Yuri

Offline

Board footer

Baidu
map