Skip to Content.
Sympa Menu

opal - [Opal] modules needed to compile opal 2022.1.0 on MERLIN7

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

[Opal] modules needed to compile opal 2022.1.0 on MERLIN7


Chronological Thread  
  • From: "Zhang, Hui" <hui.zhang AT psi.ch>
  • To: OPAL_problems <opal AT lists.psi.ch>
  • Subject: [Opal] modules needed to compile opal 2022.1.0 on MERLIN7
  • Date: Fri, 21 Nov 2025 07:50:34 +0000
  • Accept-language: de-DE, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=psi.ch; dmarc=pass action=none header.from=psi.ch; dkim=pass header.d=psi.ch; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Zta7s0vLgWv+a9yWCmU5InXGO1/Am7PBgiSHJJ/9t1Y=; b=Fw2jLcTnInoaXLgjFkgSAX3sOqMNKrSgxlYKDBvtAcmTWHPT1CXmT9Urmi8wUgDhPc5wdY9ZamTf+TwhBavk9ay4waZAhzFwa8SEz7NgWXUf4ecwrXVfUkXC9+gYY+TvqNoXZlitR8vDgZ1ljKklNkdwgCCe1+TXyaVdsaujUruvKO8ezN8EBFBqfaEamM7qMmPmBvwKPV8rFgPNe/wZp+uQPM7JJHkNXj7gcyIZ0XpgK23GKI3bIAx2S7gBQL2rx7o2mC+oKB194uhWc8N8XsIK6G/TXbnTu+BzHsMIkghOPehfHopO+yhMMCaKwyH9ymGuHDJBnCrHhHkiKX9geQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Lqq87aW4aLNiz36KAn/FusZAtkYuSUeWS6yplhzjAQ6f8wqMk58c69EHFjJMspZr8U0bLwm9ycLllHya75sDzTvOkGxuYbcN6LjxnAGeanXrLhVcrcb+0zaZUw3mjxIR0+XWRki0CBBcq5CKL+aNuXOU6JeMK+uW/xWApNd0kAstNphnzmnHtV+JYGK1n684NgPfsGQoQxUZQupY0f0CfYAeY5ujwzVBxlKpeExYLa8VkMHPnNR3xILZVQmH0R38jC5qnRwGo4Eh07VBB77viI9cMudbOIeiIUCKmniIcnqaR5xIz2V72aj7hTbzCIteHVY09TQ6RIoY5+cHIu+2UA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=psi.ch;

Dear colleagues,

 

I am trying to compile opal 2022.1.0 on merlin7. Firstly the following modules are loaded.

                source /opt/psi/config/profile.bash

                module purge

                module use unstable

                module load gcc/12.4.0

                module load openmpi/5.0.8

                module load hdf5/1.14.6

                module load Python/3.6.3

                module load gnuplot/5.4.10

                module load emacs/29.1

 

However, this seems to be not enough. Some other modules like gsl, boost, and H5hut, are also needed. At the end, the following modules are loaded.

1) gcc/12.4.0            2) cuda/12.9.1           3) libevent/2.1.12     

 4) pmix/5.0.8            5) libfabric/2.2.0-oss   6) openmpi/5.0.8       

 7) hdf5/1.14.6           8) Python/3.6.3          9) gnuplot/5.4.10      

10) gnutls/3.5.19        11) emacs/29.1           12) H5hut/2.0.0rc7      

13) gsl/2.8              14) boost/1.86.0

 

Unfortunatelly, make install returns with many error messages, like

      |     ^~~~~~~~

/afs/psi.ch/sys/psi.alps/Programming/gcc/12.4.0/include/c++/12.4.0/cstddef:124:5: note:   template argument deduction/substitution failed:

/data/user/zhang_h/OPAL_Build/OPAL/src/optimizer/_expression_/Parser/ast.hpp:107:9: note:   cannot convert ‘out’ (type ‘std::ostream’ {aka ‘std::basic_ostream<char>’}) to type ‘std::byte’

  107 |         out << "nil"; return out;

      |         ^~~

In file included from /afs/psi.ch/sys/psi.alps/Programming/gcc/12.4.0/include/c++/12.4.0/bits/basic_string.h:47,

                 from /afs/psi.ch/sys/psi.alps/Programming/gcc/12.4.0/include/c++/12.4.0/string:53,

                 from /opt/psi/overlays/Alps/Compiler/boost/1.86.0/gcc/12.4.0/include/boost/core/demangle.hpp:14,

                 from /opt/psi/overlays/Alps/Compiler/boost/1.86.0/gcc/12.4.0/include/boost/core/typeinfo.hpp:135,

                 from /opt/psi/overlays/Alps/Compiler/boost/1.86.0/gcc/12.4.0/include/boost/function/function_base.hpp:16:

/afs/psi.ch/sys/psi.alps/Programming/gcc/12.4.0/include/c++/12.4.0/string_view:673:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, basic_string_view<_CharT, _Traits>)’

  673 |     operator<<(basic_ostream<_CharT, _Traits>& __os,

      |     ^~~~~~~~

/afs/psi.ch/sys/psi.alps/Programming/gcc/12.4.0/include/c++/12.4.0/string_view:673:5: note:   template argument deduction/substitution failed:

/data/user/zhang_h/OPAL_Build/OPAL/src/optimizer/_expression_/Parser/ast.hpp:107:16: note:   mismatched types ‘std::basic_string_view<_CharT, _Traits>’ and ‘const char*’

  107 |         out << "nil"; return out;

      |                ^~~~~

/afs/psi.ch/sys/psi.alps/Programming/gcc/12.4.0/include/c++/12.4.0/bits/basic_string.h:3895:5: note: candidate: ‘template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const __cxx11::basic_string<_CharT, _Traits, _Allocator>&)’

3895 |     operator<<(basic_ostream<_CharT, _Traits>& __os,

      |     ^~~~~~~~

/afs/psi.ch/sys/psi.alps/Programming/gcc/12.4.0/include/c++/12.4.0/bits/basic_string.h:3895:5: note:   template argument deduction/substitution failed:

/data/user/zhang_h/OPAL_Build/OPAL/src/optimizer/_expression_/Parser/ast.hpp:107:16: note:   mismatched types ‘const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>’ and ‘const char [4]’

  107 |         out << "nil"; return out;

      |                ^~~~~

In file included from /afs/psi.ch/sys/psi.alps/Programming/gcc/12.4.0/include/c++/12.4.0/memory:76,

                 from /opt/psi/overlays/Alps/Compiler/boost/1.86.0/gcc/12.4.0/include/boost/function/function_base.hpp:23:

/afs/psi.ch/sys/psi.alps/Programming/gcc/12.4.0/include/c++/12.4.0/bits/shared_ptr.h:70:5: note: candidate: ‘template<class _Ch, class _Tr, class _Tp, __gnu_cxx::_Lock_policy _Lp> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const __shared_ptr<_Tp, _Lp>&)’

   70 |     operator<<(std::basic_ostream<_Ch, _Tr>& __os,

      |     ^~~~~~~~

/afs/psi.ch/sys/psi.alps/Programming/gcc/12.4.0/include/c++/12.4.0/bits/shared_ptr.h:70:5: note:   template argument deduction/substitution failed:

/data/user/zhang_h/OPAL_Build/OPAL/src/optimizer/_expression_/Parser/ast.hpp:107:16: note:   mismatched types ‘const std::__shared_ptr<_Tp, _Lp>’ and ‘const char [4]’

  107 |         out << "nil"; return out;

      |                ^~~~~

/data/user/zhang_h/OPAL_Build/OPAL/src/optimizer/_expression_/Parser/ast.hpp:105:26: note: candidate: ‘std::ostream& client::ast::operator<<(std::ostream&, nil)’

  105 |     inline std::ostream& operator<<(std::ostream& out, nil)

      |                          ^~~~~~~~

/data/user/zhang_h/OPAL_Build/OPAL/src/optimizer/_expression_/Parser/ast.hpp:105:56: note:   no known conversion for argument 2 from ‘const char [4]’ to ‘client::ast::nil’

  105 |     inline std::ostream& operator<<(std::ostream& out, nil)

      |                                                        ^~~

make[2]: *** [optimizer/CMakeFiles/optp.dir/build.make:160: optimizer/CMakeFiles/optp.dir/_expression_/Parser/evaluator.cpp.o] Error 1

make[1]: *** [CMakeFiles/Makefile2:1287: optimizer/CMakeFiles/optp.dir/all] Error 2

make: *** [Makefile:136: all] Error 2

 

Are there any other modules missing. Or some loaded modules are not of right versions?

 

Many thanks for your help.

 

Best regards,

 

Hui

 

__________________________________________
Paul Scherrer Institut
Hui Zhang
WBGA/C34
Forschungsstrasse 111
5232 Villigen PSI
Schweiz

Telefon: +41563105398
E-Mail: hui.zhang AT psi.ch




Archive powered by MHonArc 2.6.24.

Top of Page