Adding :PATH seems to be the right fix. Thanks
________________________________ Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Building 120 Cube 315 Phone: 410-278-6266 ________________________________________ From: Utkarsh Ayachit [utkarsh.ayac...@kitware.com] Sent: Wednesday, May 29, 2013 8:43 AM To: Angelini, Richard C (Rick) CIV USARMY ARL (US) Cc: paraview@paraview.org Subject: Re: [Paraview] Superbuild installation directory Rick, There is always going to be a BUILD/install. This is where all the internal packages ParaViewSuperbuild builds are temporarily installed. Something is resetting the CMAKE_INSTALL_PREFIX. I cannot find any code in ParaViewSuperbuild itself that does that. Try this instead: -DCMAKE_INSTALL_PREFIX:PATH=... (note the :PATH). Does that help? What cmake version are you using? Utkarsh On Wed, May 29, 2013 at 8:12 AM, Angelini, Richard C (Rick) CIV USARMY ARL (US) <richard.c.angelini....@mail.mil> wrote: > I want to set the installation directory using the Superbuild script, but it > seems to be ignoring the value > > My cmake command looks like: > > cmake -DCMAKE_INSTALL_PREFIX=/usr/people/angel/pv-test/3.98.1_osmesa \ > -Ddownload_location=`pwd`/../Downloads \ > -DENABLE_boost=ON \ > -DENABLE_cgns=ON \ > -DENABLE_ffmpeg=ON \ > -DENABLE_hdf5=ON \ > -DENABLE_matplotlib=ON \ > -DENABLE_osmesa=ON \ > -DENABLE_mesa=OFF \ > -DENABLE_mpi=ON \ > -DENABLE_numpy=ON \ > -DENABLE_paraview=ON \ > -DENABLE_python=ON \ > -DENABLE_qt=OFF \ > -DENABLE_silo=ON \ > -DENABLE_szip=ON \ > -DGIT_EXECUTABLE=/usr/cta/CSE.20130220/Release/git-1.6.5.2/bin/git \ > -DUSE_SYSTEM_mpi=ON ../Source > > > When I run "make install" it get a clean build, but the installation > directory is in Build/install rather than > /usr/people/angel/pv-test/3.98.1_osmesa. If I drop into the > Build/paraview directory and rerun cmake to change the installation > directory and then rerun "make install", I get the proper installation. > Am I setting the wrong variable when I run the cmake command? This is the > correct variable as described in the wiki page at > http://paraview.org/Wiki/ParaView/Superbuild > > I'm seeing this with 3.98.1 and 4.0.0rc2 > > > > > > ________________________________ > Rick Angelini > > USArmy Research Laboratory > CISD/HPC Architectures Team > Building 120 Cube 315 > Phone: 410-278-6266 > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview