Compilation of VandP.so failed.

Asked by Marco Merchand

Dear Experts

I am trying to use the batch mode with calchep within the IDM implemented by Micromegas.

When I enter

../bin/calchep_batch batch_file1

I obtain the following error message.

Makefile:4: EXTLIBmake: No such file or directory
make: *** No rule to make target `EXTLIBmake'. Stop.
Compilation of VandP.so failed.
Please have a look at Processes/m1/compile.log.
Quitting.

Can you help me on this ?

Thanks
Marco

Question information

Language:
English Edit question
Status:
Solved
For:
CalcHEP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
Alexander Pukhov (pukhov) said :
#1

work]$ ./calchep_batch ../utile/batch_file_1

It works.

In general,

../bin/calchep_batch
has to be called via ./calchep_batch

Best
     Alexander Pukhov

On 01.07.2019 5:08, Marco Merchand wrote:
> ../bin/calchep_batch batch_file1

Revision history for this message
Marco Merchand (mamerchandmedi) said :
#2

I moved my batch_file1 txt file into the directory /calchep_src/work
and used

./calchep_batch bath_file1

but I get the following error message:

VandP.c:4:10: warning: non-portable path to file
      '"/Users/MarcoAntonio/Downloads/micromegas_5.0.8/CalcHEP_src/include/extern.h"';
      specified path differs in case from file name on disk
      [-Wnonportable-include-path]
  ..."/Users/MarcoAntonio/downloads/micromegas_5.0.8/calchep_src/include/extern.h"
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     "/Users/MarcoAntonio/Downloads/micromegas_5.0.8/CalcHEP_src/include/extern.h"
VandP.c:5:10: warning: non-portable path to file
      '"/Users/MarcoAntonio/Downloads/micromegas_5.0.8/CalcHEP_src/include/VandP.h"';
      specified path differs in case from file name on disk
      [-Wnonportable-include-path]
  ..."/Users/MarcoAntonio/downloads/micromegas_5.0.8/calchep_src/include/VandP.h"
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     "/Users/MarcoAntonio/Downloads/micromegas_5.0.8/CalcHEP_src/include/VandP.h"
2 warnings generated.
Undefined symbols for architecture x86_64:
  "_polint3", referenced from:
      _Hgam1Fr in libSLHAplus.a(hgg.o)
      _Hgam1Fi in libSLHAplus.a(hgg.o)
      _Hgam1Ar in libSLHAplus.a(hgg.o)
      _Hgam1Ai in libSLHAplus.a(hgg.o)
      _Hgam1Sr in libSLHAplus.a(hgg.o)
      _Hgam1Si in libSLHAplus.a(hgg.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [VandP.so] Error 1
Compilation of VandP.so failed.
Please have a look at Processes/m1/compile.log.
Quitting.

Revision history for this message
Marco Merchand (mamerchandmedi) said :
#3

I moved my batch_file1 txt file into the directory /calchep_src/work
and used

./calchep_batch bath_file1

but I get the following error message:

VandP.c:4:10: warning: non-portable path to file
      '"/Users/MarcoAntonio/Downloads/micromegas_5.0.8/CalcHEP_src/include/extern.h"';
      specified path differs in case from file name on disk
      [-Wnonportable-include-path]
  ..."/Users/MarcoAntonio/downloads/micromegas_5.0.8/calchep_src/include/extern.h"
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     "/Users/MarcoAntonio/Downloads/micromegas_5.0.8/CalcHEP_src/include/extern.h"
VandP.c:5:10: warning: non-portable path to file
      '"/Users/MarcoAntonio/Downloads/micromegas_5.0.8/CalcHEP_src/include/VandP.h"';
      specified path differs in case from file name on disk
      [-Wnonportable-include-path]
  ..."/Users/MarcoAntonio/downloads/micromegas_5.0.8/calchep_src/include/VandP.h"
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     "/Users/MarcoAntonio/Downloads/micromegas_5.0.8/CalcHEP_src/include/VandP.h"
2 warnings generated.
Undefined symbols for architecture x86_64:
  "_polint3", referenced from:
      _Hgam1Fr in libSLHAplus.a(hgg.o)
      _Hgam1Fi in libSLHAplus.a(hgg.o)
      _Hgam1Ar in libSLHAplus.a(hgg.o)
      _Hgam1Ai in libSLHAplus.a(hgg.o)
      _Hgam1Sr in libSLHAplus.a(hgg.o)
      _Hgam1Si in libSLHAplus.a(hgg.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [VandP.so] Error 1
Compilation of VandP.so failed.
Please have a look at Processes/m1/compile.log.
Quitting.

Revision history for this message
Alexander Pukhov (pukhov) said :
#4

It looks like   a problem in your  file system

You have *Downloads* in
/Users/MarcoAntonio/Downloads/micromegas_5.0.8/CalcHEP_src/include/extern.h

and *downloads * in**

/Users/MarcoAntonio/downloads/micromegas_5.0.8/calchep_src/include/extern.h

The absolute path to micrOMEGAs is generated in time of compilation. It
is stored in

micromegas/include/microPath.h

So, it looks like in time of installation and in time of  working
session  file system looks differently.

You can a) improve path by hand b)   call  "make clean"  and "make"
after that. c) move micromegas in other place and again make b)

You see, the problem is well explained by screen message.

Best

    Alexander Pukhov

On 01.07.2019 18:17, Marco Merchand wrote:
> Question #681704 on CalcHEP changed:
> https://answers.launchpad.net/calchep/+question/681704
>
> Status: Solved => Open
>
> Marco Merchand is still having a problem:
> I moved my batch_file1 txt file into the directory /calchep_src/work
> and used
>
> ./calchep_batch bath_file1
>
> but I get the following error message:
>
> VandP.c:4:10: warning: non-portable path to file
> '"/Users/MarcoAntonio/Downloads/micromegas_5.0.8/CalcHEP_src/include/extern.h"';
> specified path differs in case from file name on disk
> [-Wnonportable-include-path]
> ..."/Users/MarcoAntonio/downloads/micromegas_5.0.8/calchep_src/include/extern.h"
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> "/Users/MarcoAntonio/Downloads/micromegas_5.0.8/CalcHEP_src/include/extern.h"
> VandP.c:5:10: warning: non-portable path to file
> '"/Users/MarcoAntonio/Downloads/micromegas_5.0.8/CalcHEP_src/include/VandP.h"';
> specified path differs in case from file name on disk
> [-Wnonportable-include-path]
> ..."/Users/MarcoAntonio/downloads/micromegas_5.0.8/calchep_src/include/VandP.h"
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> "/Users/MarcoAntonio/Downloads/micromegas_5.0.8/CalcHEP_src/include/VandP.h"
> 2 warnings generated.
> Undefined symbols for architecture x86_64:
> "_polint3", referenced from:
> _Hgam1Fr in libSLHAplus.a(hgg.o)
> _Hgam1Fi in libSLHAplus.a(hgg.o)
> _Hgam1Ar in libSLHAplus.a(hgg.o)
> _Hgam1Ai in libSLHAplus.a(hgg.o)
> _Hgam1Sr in libSLHAplus.a(hgg.o)
> _Hgam1Si in libSLHAplus.a(hgg.o)
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [VandP.so] Error 1
> Compilation of VandP.so failed.
> Please have a look at Processes/m1/compile.log.
> Quitting.
>

Revision history for this message
Marco Merchand (mamerchandmedi) said :
#5

I did make clean and make again.

I think that helped but I still get the following message

Undefined symbols for architecture x86_64:
  "_polint3", referenced from:
      _Hgam1Fr in libSLHAplus.a(hgg.o)
      _Hgam1Fi in libSLHAplus.a(hgg.o)
      _Hgam1Ar in libSLHAplus.a(hgg.o)
      _Hgam1Ai in libSLHAplus.a(hgg.o)
      _Hgam1Sr in libSLHAplus.a(hgg.o)
      _Hgam1Si in libSLHAplus.a(hgg.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [VandP.so] Error 1
Compilation of VandP.so failed.
Please have a look at Processes/m1/compile.log.
Quitting.

Revision history for this message
Launchpad Janitor (janitor) said :
#6

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Alexander Belyaev (alexander.belyaev) said :
#7

Hello Marco,
please let us know if the problem is solved or it still exists
Regards,
Sasha

Revision history for this message
Launchpad Janitor (janitor) said :
#8

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.

Revision history for this message
Alexander Belyaev (alexander.belyaev) said :
#9

Was the problem solved?

Revision history for this message
Launchpad Janitor (janitor) said :
#10

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.

Revision history for this message
Alexander Belyaev (alexander.belyaev) said :
#11

This problems was solved