Compiling calchep--fatal problem in fortran compiler

Asked by Michael Shamma

Hi,

I am trying to install CalcHEP on my macbook pro (El Capitan version 10.11.6). After unpacking, I get the following error when I make in the CalcHEP directory:

Fortran compiler is detected
Fatal problem in fortran compiler
make: *** [flags] Error 1

I have tried to reinstall the fortran compiler I'm using but get the same error. I've been looking at previous answers (https://answers.launchpad.net/calchep/+question/252913 and https://answers.launchpad.net/calchep/+question/244487), but haven't found other possibly useful results.

Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
CalcHEP Edit question
Assignee:
No assignee Edit question
Solved by:
Michael Shamma
Solved:
Last query:
Last reply:
Revision history for this message
Alexander Pukhov (pukhov) said :
#1

CalcHEP writes a test code

cat >test.f <<EOF

C   TEST
       WRITE(*,*) 'test program'
       END
EOF

and tries to compile it

  $FC  -o a.out test.f

and checks error code.  Just repeat this call and you will see Fortarn
error message.

CalcHEP itself does not use Fortran. It can be need for some other code
which calculates  particle spectrum for some model.

For instance, SuSpect or SPheno for MSSM.   I can change installation
to  treat absence of Fortran as a non-fatal error.

Best

     Alexander Pukhov

On 04/03/2018 08:47 PM, Michael Shamma wrote:
> Fatal problem in fortran compiler

Revision history for this message
Michael Shamma (msham19) said :
#2

Calchep has compiled successfully! Thanks again.

Best,
Michael