Personal tools
You are here: Home Forum Install & build Salome - Nvidia GC

Salome - Nvidia GC

Up to Install & build
  • Salome - Nvidia GC

    Posted by Dupront at November 29. 2006
    Hello,

    I am trying to install salome on Mandriva 2006 platform.

    I have a Nvidia graphic card and I suspect that it is creating few problems because of openGL and openGLU.

    I am trying to buid Salome Modules from source. So far it is ok for the KERNEL module.
    I had problems with libGL.so (see release notes page 9) and libGLU.so (solved with a symbolic link too).

    Now I am trying to buid GUI module.
    The steps "build_configure" and "configure" were performed successfully.
    But "make" is creating a problem.
    Here is the message I have (the second line came in french, here is a translation ...):
    "
    make[3]: Entering directory `/home/francois/Travail/salome_3.2.2/GUI_build/src/GLViewer'
    make[3]: *** No rule to build target << GL/glu.h>> , needed for <>. Stop.
    make[3]: Leaving directory `/home/francois/Travail/salome_3.2.2/GUI_build/src/GLViewer'
    make[2]: *** [lib_GLViewer] Erreur 2
    make[2]: Leaving directory `/home/francois/Travail/salome_3.2.2/GUI_build/src'
    make[1]: *** [lib_src] Erreur 2
    make[1]: Leaving directory `/home/francois/Travail/salome_3.2.2/GUI_build'
    make: *** [all] Erreur 2
    "

    I found a glu.h file that I did not have and copied it in /usr/X11R6/include/GL/ but it did not help.

    Any help would be very wellcome!
    Thank in advance
    • Re: Salome - Nvidia GC

      Posted by Vadim SANDLER at November 29. 2006
      Hello Michel,

      After installing the glu.h file you need to reconfigure GUI module. To be more precise you need to regenerate dependencies.
      I propose you to do the following:
      >> cd GUI_BUILD
      >> find . -name ".dep*" -exec rm -f {} \;
      >> make

      This should help.

      Regards,
      Vadim.
      • Re: Salome - Nvidia GC

        Posted by Dupront at November 29. 2006
        Thank you Vadim!

        It did help !

        Next module ....
        • Re: Salome - Nvidia GC

          Posted by Dupront at November 29. 2006
          Hello Vadim,

          Me again ... I hope it is ok.

          I have the modules KERNEL, GUI and GEOM installed.

          Regarding MED, I had two problems when I tried to run configure:

          1- med2:  (solved)
             Here it was easy thanks to the config.log file. I had to install libgfortran as Patrice Genet explained in his post. Thanks Patrice !

          2- mpi: (not solved)
             In that case there is nothing that can help me in config.log.

          I am definitly optimistic ...  


          • Re: Salome - Nvidia GC

            Posted by Vadim SANDLER at November 30. 2006
            Hello Michel,

            mpi is not obligatory pre-requisite for MED module.
            You can proceed compilation without it.


            Regards,
            Vadim.
            • Re: Salome - Nvidia GC

              Posted by Dupront at November 30. 2006
              Hello Vadim,

              Thanks a lot for your answer !

              Finally I installed all modules except CHS3DPLUGIN.

              Then I did what follows:

              > cd
              > source env_products.sh
              > export MODULE_ROOT_DIR=
                (with MODULE=KERNEL, GUI, GEOM, ....)
              > export OMNIORB_CONFIG=$HOME/.omniORB.cfg
              > KERNEL_install/bin/salome/runSalome

              The desktop is launched but three modules are not found:

              ****************************************************************
              *    Warning: SUPERV not found in resources.
              *    Module will not be available
              ****************************************************************
              ****************************************************************
              *    Warning: library Component cannot be found
              *    Module will not be available
              ****************************************************************
              ****************************************************************
              *    Warning: library PyCalculator cannot be found
              *    Module will not be available
              ****************************************************************

              What could be a possible mistake ?

              still optimistic ...

              • Re: Salome - Nvidia GC

                Posted by Vadim SANDLER at November 30. 2006
                Hello Michel,

                Two last messages (about Component and PyCalculator) are just warnings to inform that these modules do not have GUI libraries - and it is OK with them.
                As far as SUPERV module concerns - are you sure that you successfully built-n-install SUPERV module and set the SUPERV_ROOT_DIR properly?

                Regards,
                Vadim.
                • Re: Salome - Nvidia GC

                  Posted by Dupront at November 30. 2006
                  You are always right !!

                  I re-installed SUPERV module. Now I don't see the message concerning SUPERV.

                  I am now in the last step.

                  Am I supposed to do anything before running "salome_test" ?

                  I ran "import salome_test" in a python consol and it stopped in Test Supervisor (!), with the following message:

                  "
                  =============  Test  Supervisor  =============================

                  Traceback (most recent call last):
                    File "", line 1, in ?
                    File "/home/francois/Travail/salome_3.2.2/KERNEL_install//lib/python2.4/site-packages/salome/import_hook.py", line 139, in import_hook
                      module= original_import(name, globals, locals, fromlist)
                    File "/home/francois/Travail/salome_3.2.2/KERNEL_install//lib/python2.4/site-packages/salome/salome_test.py", line 290, in ?
                      raise RuntimeError, "DATA_DIR is not defined"
                  RuntimeError: DATA_DIR is not defined
                  "

                  almost the end ...
                  • Re: Salome - Nvidia GC

                    Posted by Dupront at December 01. 2006
                    Hello Vadim,

                    Yes I had someting to do before. Sorry ...

                    Thank you very much for your help Vadim !

                    That was really kind of you !

                    Michel

Powered by Ploneboard
Document Actions