About PERSALYS compilation error in Ubuntu20 system

Hello everyone:
I compiled version 9.13.0 in ubuntu20 system. The PERSALYS module failed to compile during SAT full compilation. The compilation log is as follows:

.....................
writing output... [ 36%] user_manual/python_interface/_generated/persalys.DataModel
writing output... [ 37%] user_manual/python_interface/_generated/persalys.DesignOfExperiment
writing output... [ 38%] user_manual/python_interface/_generated/persalys.FMIPhysicalModel
writing output... [ 40%] user_manual/python_interface/_generated/persalys.FORMAnalysis
writing output... [ 41%] user_manual/python_interface/_generated/persalys.FORMImportanceSamplingAnalysis
writing output... [ 42%] user_manual/python_interface/_generated/persalys.FieldModelEvaluation
writing output... [ 43%] user_manual/python_interface/_generated/persalys.FieldMonteCarloAnalysis
writing output... [ 44%] user_manual/python_interface/_generated/persalys.FieldMonteCarloResult
writing output... [ 45%] user_manual/python_interface/_generated/persalys.FileMemoizeFunction
writing output... [ 46%] user_manual/python_interface/_generated/persalys.FittingTestResult
writing output... [ 47%] user_manual/python_interface/_generated/persalys.FixedDesignOfExperiment
writing output... [ 48%] user_manual/python_interface/_generated/persalys.FunctionalChaosAnalysis
writing output... [ 50%] user_manual/python_interface/_generated/persalys.FunctionalChaosAnalysisResult
writing output... [ 51%] user_manual/python_interface/_generated/persalys.GridDesignOfExperiment
writing output... [ 52%] user_manual/python_interface/_generated/persalys.GridMeshModel
writing output... [ 53%] user_manual/python_interface/_generated/persalys.ImportanceSamplingAnalysis
writing output... [ 54%] user_manual/python_interface/_generated/persalys.ImportedDesignOfExperiment
writing output... [ 55%] user_manual/python_interface/_generated/persalys.ImportedMeshModel
writing output... [ 56%] user_manual/python_interface/_generated/persalys.InferenceAnalysis
writing output... [ 57%] user_manual/python_interface/_generated/persalys.InferenceResult
writing output... [ 58%] user_manual/python_interface/_generated/persalys.Input
writing output... [ 60%] user_manual/python_interface/_generated/persalys.KrigingAnalysis
writing output... [ 61%] user_manual/python_interface/_generated/persalys.KrigingAnalysisResult
writing output... [ 62%] user_manual/python_interface/_generated/persalys.LimitState
writing output... [ 63%] user_manual/python_interface/_generated/persalys.MeshModel
writing output... [ 64%] user_manual/python_interface/_generated/persalys.MetaModel
writing output... [ 65%] user_manual/python_interface/_generated/persalys.MetaModelAnalysis
writing output... [ 66%] user_manual/python_interface/_generated/persalys.MetaModelAnalysisResult
writing output... [ 67%] user_manual/python_interface/_generated/persalys.MetaModelValidationResult
writing output... [ 68%] user_manual/python_interface/_generated/persalys.ModelEvaluation
writing output... [ 70%] user_manual/python_interface/_generated/persalys.MonteCarloAnalysis
writing output... [ 71%] user_manual/python_interface/_generated/persalys.MonteCarloReliabilityAnalysis
writing output... [ 72%] user_manual/python_interface/_generated/persalys.MorrisAnalysis
writing output... [ 73%] user_manual/python_interface/_generated/persalys.MorrisResult
writing output... [ 74%] user_manual/python_interface/_generated/persalys.MultiObjectiveOptimizationAnalysis
writing output... [ 75%] user_manual/python_interface/_generated/persalys.Observations
writing output... [ 76%] user_manual/python_interface/_generated/persalys.OptimizationAnalysis
writing output... [ 77%] user_manual/python_interface/_generated/persalys.Output
writing output... [ 78%] user_manual/python_interface/_generated/persalys.PhysicalModel
writing output... [ 80%] user_manual/python_interface/_generated/persalys.PolynomialRegressionAnalysis
writing output... [ 81%] user_manual/python_interface/_generated/persalys.PolynomialRegressionAnalysisResult
writing output... [ 82%] user_manual/python_interface/_generated/persalys.ProbabilisticDesignOfExperiment
writing output... [ 83%] user_manual/python_interface/_generated/persalys.PythonFieldModel
writing output... [ 84%] user_manual/python_interface/_generated/persalys.PythonPhysicalModel
writing output... [ 85%] user_manual/python_interface/_generated/persalys.SORMAnalysis
writing output... [ 86%] user_manual/python_interface/_generated/persalys.SRCAnalysis
writing output... [ 87%] user_manual/python_interface/_generated/persalys.SRCResult
writing output... [ 88%] user_manual/python_interface/_generated/persalys.SimulationReliabilityResult
writing output... [ 90%] user_manual/python_interface/_generated/persalys.SobolAnalysis
writing output... [ 91%] user_manual/python_interface/_generated/persalys.SobolResult
[100%] Built target persalysview
writing output... [ 92%] user_manual/python_interface/_generated/persalys.Study
writing output... [ 93%] user_manual/python_interface/_generated/persalys.SymbolicFieldModel
[100%] Building CXX object main/CMakeFiles/persalys.dir/main.cxx.o
writing output... [ 94%] user_manual/python_interface/_generated/persalys.SymbolicPhysicalModel
writing output... [ 95%] user_manual/python_interface/_generated/persalys.TaylorExpansionMomentsAnalysis
writing output... [ 96%] user_manual/python_interface/_generated/persalys.TaylorExpansionMomentsResult
writing output... [ 97%] user_manual/python_interface/_generated/persalys.Variable
writing output... [ 98%] user_manual/python_interface/python_interface
writing output... [100%] user_manual/user_manual

/usr/lib/python3/dist-packages/sphinx/builders/html.py:138: RemovedInSphinx20Warning: builder.css_files is deprecated. Please use app.add_stylesheet() instead.
  ret += other
/usr/lib/python3/dist-packages/sphinx/builders/html.py:138: RemovedInSphinx20Warning: builder.css_files is deprecated. Please use app.add_stylesheet() instead.
  ret += other

Warning, treated as error:
LaTeX command 'latex' cannot be run (needed for math display), check the imgmath_latex setting
make[2]: *** [python/src/CMakeFiles/sphinx_html.dir/build.make:586: python/src/CMakeFiles/sphinx_html] Error 2
make[1]: *** [CMakeFiles/Makefile2:1990: python/src/CMakeFiles/sphinx_html.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[100%] Linking CXX executable persalys
[100%] Built target persalys
make: *** [Makefile:166: all] Error 2
ERROR on make

The key error is:

Warning, treated as error:
LaTeX command 'latex' cannot be run (needed for math display), check the imgmath_latex setting
make[2]: *** [python/src/CMakeFiles/sphinx_html.dir/build.make:586: python/src/CMakeFiles/sphinx_html] Error 2
make[1]: *** [CMakeFiles/Makefile2:1990: python/src/CMakeFiles/sphinx_html.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[100%] Linking CXX executable persalys
[100%] Built target persalys
make: *** [Makefile:166: all] Error 2

How to deal with this?
I installed all dependencies completely before compiling, please tell me why!!
–thanks!!!!!!

You need a more recent latex with packages which are not in the vanilla LaTeX package . Here, you need to proceed as folllows:

  • Install locally Texlive (full) locally;
  • Expand PATH environment variable accordingly;
  • check that which latex returns the newly installed one;
  • continue installation with SAT: sat/sat compile SALOME-9.13.0-native .