installing ninja

Asked by zheng

Dear experts,

I'm doing loop calculation with the [QCD] option and is directed to ninja. There's an error message at the end of installation. I didn't see similar errors in the past answered questions. Below is the last part of this message and it seems like a server problem. Do you have any clue how to solve this? Thanks!

Best regards,
Yajuan

*********************************************

Fetching data with command:
  curl -OL https://ninja.hepforge.org/downloads//ninja-1.1.0.tar.gz
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.
HTTPS-proxy has similar options --proxy-cacert and --proxy-insecure.
Could not download data at 'https://ninja.hepforge.org/downloads//ninja-1.1.0.tar.gz' because of:
stat: path should be string, bytes, os.PathLike or integer, not NoneType

Command "output ./test" interrupted with error:
InvalidCmd : Installation of ninja failed.

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Looks like the hepforge certificate was expired.
I'm not in charge of such certificate so I can only wait and see here.

But when I go on that website, I do not have that particular issue, so maybe this is already solved.
(you got unlucky that you hit at the time of a renewal?)

Cheers,

Olivier

> On 20 Jan 2022, at 10:41, zheng <email address hidden> wrote:
>
> New question #700310 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/700310
>
> Dear experts,
>
> I'm doing loop calculation with the [QCD] option and is directed to ninja. There's an error message at the end of installation. I didn't see similar errors in the past answered questions. Below is the last part of this message and it seems like a server problem. Do you have any clue how to solve this? Thanks!
>
> Best regards,
> Yajuan
>
> *********************************************
>
> Fetching data with command:
> curl -OL https://ninja.hepforge.org/downloads//ninja-1.1.0.tar.gz
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
> curl: (60) SSL certificate problem: certificate has expired
> More details here: https://curl.haxx.se/docs/sslcerts.html
>
> curl performs SSL certificate verification by default, using a "bundle"
> of Certificate Authority (CA) public keys (CA certs). If the default
> bundle file isn't adequate, you can specify an alternate file
> using the --cacert option.
> If this HTTPS server uses a certificate signed by a CA represented in
> the bundle, the certificate verification probably failed due to a
> problem with the certificate (it might be expired, or the name might
> not match the domain name in the URL).
> If you'd like to turn off curl's verification of the certificate, use
> the -k (or --insecure) option.
> HTTPS-proxy has similar options --proxy-cacert and --proxy-insecure.
> Could not download data at 'https://ninja.hepforge.org/downloads//ninja-1.1.0.tar.gz' because of:
> stat: path should be string, bytes, os.PathLike or integer, not NoneType
>
> Command "output ./test" interrupted with error:
> InvalidCmd : Installation of ninja failed.
>
>
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
zheng (yjzheng218) said :
#2

Hi Olivier,

So I'm trying to install ninja again and received error message about fortran version incompatibility as below.
My current fortran version is GNU Fortran (Homebrew GCC 11.2.0_3) 11.2.0. Should I change my fortran version or is there any other solutions? Thanks!

Best regards,
Yajuan

************************************************
libtool: compile: gfortran -DHAVE_CONFIG_H -I. -I.. -I../src/ninja -DNINJA_NO_EXCEPTIONS -fPIC -I/Users/../MG5_aMC_v3_3_1/HEPTools/oneloop -g -O2 -c avholo_wrapper.F90 -fno-common -o .libs/avholo_wrapper.o
avholo_wrapper.F90:23:11:

   23 | use avh_olo
      | 1
Fatal Error: Cannot read module file '/Users/../MG5_aMC_v3_3_1/HEPTools/oneloop/avh_olo.mod' opened at (1), because it was created by a different version of GNU Fortran
compilation terminated.
make[2]: *** [avholo_wrapper.lo] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
Finished installing Ninja
************************************************

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#3

Well I can only tell you what is written in the crash:

It seems that you have used two different version of the compiler to compile two different library.
So you will need to remove all the installed library compiled with the previous compiler (in this case at least the
> /Users/../MG5_aMC_v3_3_1/HEPTools/oneloop
directory and then retry (obviously other library installed before might need the same treatment

Cheers,

Olivier

> On 18 May 2022, at 03:55, zheng <email address hidden> wrote:
>
> Question #700310 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/700310
>
> Status: Answered => Open
>
> zheng is still having a problem:
> Hi Olivier,
>
> So I'm trying to install ninja again and received error message about fortran version incompatibility as below.
> My current fortran version is GNU Fortran (Homebrew GCC 11.2.0_3) 11.2.0. Should I change my fortran version or is there any other solutions? Thanks!
>
> Best regards,
> Yajuan
>
>
> ************************************************
> libtool: compile: gfortran -DHAVE_CONFIG_H -I. -I.. -I../src/ninja -DNINJA_NO_EXCEPTIONS -fPIC -I/Users/../MG5_aMC_v3_3_1/HEPTools/oneloop -g -O2 -c avholo_wrapper.F90 -fno-common -o .libs/avholo_wrapper.o
> avholo_wrapper.F90:23:11:
>
> 23 | use avh_olo
> | 1
> Fatal Error: Cannot read module file '

> /avh_olo.mod' opened at (1), because it was created by a different version of GNU Fortran
> compilation terminated.
> make[2]: *** [avholo_wrapper.lo] Error 1
> make[1]: *** [install-recursive] Error 1
> make: *** [install-recursive] Error 1
> Finished installing Ninja
> ************************************************
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Can you help with this problem?

Provide an answer of your own, or ask zheng for more information if necessary.

To post a message you must log in.