Error during make check

Asked by MohammadMohammadidoust

Hi. I am trying to install Whizard. "make" and "make install" commands run successfully. However, when I try "make check" command I encounter this error :

##################################################
./keystones_UFO_bispinors_generate -cat > keystones_UFO_bispinors.f90
  FC keystones_UFO_bispinors.o
  FCLD keystones_UFO_bispinors
PASS: keystones_UFO_bispinors
  FC parameters_SM_Higgs_recola.o
  FC compare_lib_recola.o
make[5]: *** No rule to make target 'comparisons_recola.list', needed by 'compare_amplitude_recola.f90'. Stop.
make[5]: Leaving directory '/home/mohammad/packages/WHIZARD/whizard-3.1.3/omega/tests'
make[4]: *** [Makefile:2125: check-TESTS] Error 2
make[4]: Leaving directory '/home/mohammad/packages/WHIZARD/whizard-3.1.3/omega/tests'
make[3]: *** [Makefile:2411: check-am] Error 2
make[3]: Leaving directory '/home/mohammad/packages/WHIZARD/whizard-3.1.3/omega/tests'
make[2]: *** [Makefile:1909: check-recursive] Error 1
make[2]: Leaving directory '/home/mohammad/packages/WHIZARD/whizard-3.1.3/omega/tests'
make[1]: *** [Makefile:658: check-recursive] Error 1
make[1]: Leaving directory '/home/mohammad/packages/WHIZARD/whizard-3.1.3/omega'
make: *** [Makefile:784: check-recursive] Error 1
#########################################

Is this a bug or did I make a mistake during installation?
 many thanks.
Mohammad

Question information

Language:
English Edit question
Status:
Solved
For:
WHIZARD Edit question
Assignee:
Juergen Reuter Edit question
Solved by:
MohammadMohammadidoust
Solved:
Last query:
Last reply:
Revision history for this message
Juergen Reuter (j.r.reuter) said :
#1

Dear Mohammed,
Indeed, this file is accidentally missing from the distribution. We will correct this in the next release. You can either configure without
--enable-recola or run make check only the main tests folder (i.e. not in omega/tests), or you could for now download this file from
our public git:
https://gitlab.tp.nt.uni-siegen.de/whizard/public/-/blob/master/omega/tests/comparisons_recola.list
and put it into the the folder omega/tests.
Cheers,
    JRR (Juergen)

Revision history for this message
Juergen Reuter (j.r.reuter) said :
#2

One more remark: it looks like you did an in-source build. This is highly discouraged, it is always advised to create a separate build directory first.

Revision history for this message
MohammadMohammadidoust (m23mohamadidoust) said (last edit ):
#3

Hi Juergen,
Thank you very much for your help and also for your advice.
I put the file into the folder /path/to/whizard/omega/tests/ and built the package in a separate folder. But it didn't solve my problem and the mentioned error still exists.

Revision history for this message
Juergen Reuter (j.r.reuter) said :
#4

Hi Mohammad,
actually you have to copy the file into your Whizard source directory, not into the install directory. So if Whizard is unpacked in
<some_path>/local/packages/whizard-3.1.3
and configured with --prefix=<some_other_path>
you have to put into <some_path>/local/packages/whizard-3.1.3/omega/tests
Cheers,
    JRR

Revision history for this message
MohammadMohammadidoust (m23mohamadidoust) said :
#5

Dear Juergen,
Thanks for the clarification. Actually, I had done the same as you explained. But the problem was another file was also missed which had to be copied to the source files:

https://gitlab.tp.nt.uni-siegen.de/whizard/public/-/blob/master/omega/tests/compare_driver_recola.sh

However, finally, "prc_recola.run" test failed during unit testing and I faced this error:
#############################################################
SKIP: integrations_history.run
FAIL: prc_recola.run
============================================================================
Testsuite summary for WHIZARD 3.1.3
============================================================================
# TOTAL: 145
# PASS: 135
# SKIP: 7
# XFAIL: 0
# FAIL: 3
# XPASS: 0
# ERROR: 0
============================================================================
See tests/unit_tests/test-suite.log
============================================================================
make[5]: *** [Makefile:964: test-suite.log] Error 1
make[5]: Leaving directory '/home/mohammad/packages/WHIZARD/whizard-3.1.3/build/tests/unit_tests'
make[4]: *** [Makefile:1072: check-TESTS] Error 2
make[4]: Leaving directory '/home/mohammad/packages/WHIZARD/whizard-3.1.3/build/tests/unit_tests'
make[3]: *** [Makefile:2152: check-am] Error 2
make[3]: Leaving directory '/home/mohammad/packages/WHIZARD/whizard-3.1.3/build/tests/unit_tests'
make[2]: *** [Makefile:2154: check] Error 2
make[2]: Leaving directory '/home/mohammad/packages/WHIZARD/whizard-3.1.3/build/tests/unit_tests'
make[1]: *** [Makefile:663: check-recursive] Error 1
make[1]: Leaving directory '/home/mohammad/packages/WHIZARD/whizard-3.1.3/build/tests'
make: *** [Makefile:784: check-recursive] Error 1
#######################################################

It seems that I should give up enabling recola.
thanks for your support.
best
Mohammad

Revision history for this message
Juergen Reuter (j.r.reuter) said :
#6

Dear Mohammad,
thanks for finding this other missing file. I added it to the distribution. We expect a new release (Whizard 3.1.4) by hopefully next week, but definitely before the end of the month.
Regarding the problem in the so-called unit_tests, indeed I realized them myself already. Something has changed internally
in Recola v1.4.4 which leads to numerically different results in the type of comparison we are doing compared to versions 1.3.x and 1.4.0-1.4.3. At the level of phase-space integration and different distributions, these versions should be equivalent.If you are concerned about the failing tests, you could downgrade to Recola v1.4.3.
Cheers,
    JRR