JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for CCPEM Archives


CCPEM Archives

CCPEM Archives


CCPEM@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

CCPEM Home

CCPEM Home

CCPEM  December 2016

CCPEM December 2016

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: "nvcc fatal" error during installation on Centos 6.8

From:

"Hattne, Johan" <[log in to unmask]>

Reply-To:

Hattne, Johan

Date:

Thu, 22 Dec 2016 17:38:05 +0000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (1 lines)

No, that won’t work.  The quotes I had in mind are in CMake’s run_nvcc.cmake (/usr/share/cmake/Modules/FindCUDA/run_nvcc.cmake on the system I’m currently on).  Change the line that reads



  set(CUDA_NVCC_COMPILE_DEFINITIONS "@CUDA_NVCC_COMPILE_DEFINITIONS@") # list (needs to be in quotes to handle spaces properly).



into



  set(CUDA_NVCC_COMPILE_DEFINITIONS @CUDA_NVCC_COMPILE_DEFINITIONS@) # list (needs to be in quotes to handle spaces properly).



Spaces appear to be handled properly even without the quotes.



// Cheers; Johan





> On Dec 22, 2016, at 11:55, Coudray, Nicolas <[log in to unmask]> wrote:

> 

> Thanks for the suggestion Johan. I removed the quotes in lines 19 & 20 of the RELION's CMakeLists.txt file:

> 

> add_definitions(-DINSTALL_LIBRARY_DIR=${CMAKE_INSTALL_PREFIX}/lib/)

> add_definitions(-DSOURCE_DIR=${CMAKE_SOURCE_DIR}/src/)

> 

> This indeed does not generate the nvcc error anymore, but another occurs a bit later: 

> 

> [ 23%] Building CXX object src/apps/CMakeFiles/relion_lib.dir/__/gui_mainwindow.cpp.o

> /ifs/data/cryoem/relion-2.0/relion2-beta_t/src/gui_mainwindow.cpp: In constructor \u2018RelionMainWindow::RelionMainWindow(int, int, const char*, FileName, int, int, bool)\u2019:

> /ifs/data/cryoem/relion-2.0/relion2-beta_t/src/gui_mainwindow.cpp:280: error: \u2018usr\u2019 was not declared in this scope

> /ifs/data/cryoem/relion-2.0/relion2-beta_t/src/gui_mainwindow.cpp:280: error: \u2018local\u2019 was not declared in this scope

> /ifs/data/cryoem/relion-2.0/relion2-beta_t/src/gui_mainwindow.cpp:280: error: \u2018lib\u2019 was not declared in this scope

> /ifs/data/cryoem/relion-2.0/relion2-beta_t/src/gui_mainwindow.cpp:280: error: expected primary-expression before \u2018(\u2019 token

> /ifs/data/cryoem/relion-2.0/relion2-beta_t/src/gui_mainwindow.cpp:280: error: expected primary-expression before \u2018/\u2019 token

> /ifs/data/cryoem/relion-2.0/relion2-beta_t/src/gui_mainwindow.cpp:280: error: expected primary-expression before \u2018)\u2019 token

> /ifs/data/cryoem/relion-2.0/relion2-beta_t/src/gui_mainwindow.cpp:284: error: \u2018ifs\u2019 was not declared in this scope

> /ifs/data/cryoem/relion-2.0/relion2-beta_t/src/gui_mainwindow.cpp:284: error: \u2018data\u2019 was not declared in this scope

> /ifs/data/cryoem/relion-2.0/relion2-beta_t/src/gui_mainwindow.cpp:284: error: \u2018cryoem\u2019 was not declared in this scope

> /ifs/data/cryoem/relion-2.0/relion2-beta_t/src/gui_mainwindow.cpp:284: error: \u2018relion\u2019 was not declared in this scope

> /ifs/data/cryoem/relion-2.0/relion2-beta_t/src/gui_mainwindow.cpp:284: error: \u2018relion2\u2019 was not declared in this scope

> /ifs/data/cryoem/relion-2.0/relion2-beta_t/src/gui_mainwindow.cpp:284: error: \u2018beta_t\u2019 was not declared in this scope

> /ifs/data/cryoem/relion-2.0/relion2-beta_t/src/gui_mainwindow.cpp:284: error: \u2018src\u2019 was not declared in this scope

> /ifs/data/cryoem/relion-2.0/relion2-beta_t/src/gui_mainwindow.cpp:284: error: expected primary-expression before \u2018(\u2019 token

> /ifs/data/cryoem/relion-2.0/relion2-beta_t/src/gui_mainwindow.cpp:284: error: expected primary-expression before \u2018/\u2019 token

> /ifs/data/cryoem/relion-2.0/relion2-beta_t/src/gui_mainwindow.cpp:284: error: expected primary-expression before \u2018)\u2019 token

> make[2]: *** [src/apps/CMakeFiles/relion_lib.dir/__/gui_mainwindow.cpp.o] Error 1

> make[1]: *** [src/apps/CMakeFiles/relion_lib.dir/all] Error 2

> make: *** [all] Error 2

> 

> 

> ________________________________________

> 

> From: Hattne, Johan [[log in to unmask]]

> Sent: Thursday, December 22, 2016 11:19 AM

> To: Coudray, Nicolas

> Cc: [log in to unmask]

> Subject: Re: [ccpem] "nvcc fatal" error during installation on Centos 6.8

> 

> See

> 

> 

> 

> https://urldefense.proofpoint.com/v2/url?u=https-3A__gitlab.kitware.com_cmake_cmake_issues_16510&d=DgIGaQ&c=j5oPpO0eBH1iio48DtsedbOBGmuw5jHLjgvtN2r4ehE&r=RRJopfWEMpjEmb1q4aEqzyQjd97NtX3Xt1ANiQcXoKc&m=NzUWz3pym1dcZWJEyKd4l3opSyyZHqvnCKPyu7AZFvY&s=JaLjAZQHIYkmemrns2EoS0yhW737Z9NobWcM5sqR-zU&e=

> 

> 

> 

> Removing the quotes in CMake’s run_nvcc.cmake works for me, but I don’t know enough CMake to tell whether this is really The Right Thing to do. If you do not have sufficient permission to edit that file, you can also work around the issue by modifying the RELION sources; I could send a patch for that anyone's interested.

> 

> 

> 

> // Johan

> 

> 

> 

> > On Dec 22, 2016, at 11:02, Coudray, Nicolas <[log in to unmask]> wrote:

> 

> >

> 

> > Hi All,

> 

> >

> 

> > We're trying to install RELION on a cluster (CENTOS 6.8) but are runinng into this error when running the make command:

> 

> >

> 

> > [ 0%] Built target copy_scripts

> 

> > [ 1%] Building NVCC (Device) object src/apps/CMakeFiles/relion_gpu_util.dir/__/gpu_utils/cuda_kernels/relion_gpu_util_generated_helper.cu.o

> 

> > CMake Warning (dev) at relion_gpu_util_generated_helper.cu.o.Release.cmake:81:

> 

> > Syntax Warning in cmake code at column 57

> 

> > Argument not separated from preceding token by whitespace.

> 

> > This warning is for project developers. Use -Wno-dev to suppress it.

> 

> > nvcc fatal : Stray '"' character

> 

> > CMake Error at relion_gpu_util_generated_helper.cu.o.Release.cmake:222 (message):

> 

> > Error generating

> 

> > /ifs/data/cryoem/relion-2.0/relion2-beta_t/build2/src/apps/CMakeFiles/relion_gpu_util.dir/__/gpu_utils/cuda_kernels/./relion_gpu_util_generated_helper.cu.o

> 

> > make[2]: *** [src/apps/CMakeFiles/relion_gpu_util.dir/__/gpu_utils/cuda_kernels/relion_gpu_util_generated_helper.cu.o] Error 1

> 

> > make[1]: *** [src/apps/CMakeFiles/relion_gpu_util.dir/all] Error 2

> 

> > make: *** [all] Error 2

> 

> >

> 

> > Other information about the system:

> 

> > * We're using cmake/3.7.1 and openmpi 1.10.1

> 

> > * GNU 4.4.7

> 

> > * ldd (GNU libc) 2.12

> 

> >

> 

> > Does anyone know what the error is and how to solve this?

> 

> >

> 

> >

> 

> > Thanks,

> 

> >

> 

> > Nicolas Coudray

> 

> > New York University

> 

> >

> 

> >

> 

> >

> 

> > ------------------------------------------------------------

> 

> > This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is proprietary, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, disclosure, or distribution is prohibited. If you have received this email in error please notify the sender by return email and delete the original message. Please note, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email.

> 

> > =================================

> 

> 

> 

> Research Specialist @ Gonen Lab

> 

> ____________________________________________________

> 

> Janelia Research Campus * 19700 Helix Drive

> 

> Ashburn, VA 20147 * +1 (571) 209-4000 extension 3376

> 

> 

> 

> 

> ------------------------------------------------------------

> This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is proprietary, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, disclosure, or distribution is prohibited. If you have received this email in error please notify the sender by return email and delete the original message. Please note, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email.

> =================================



          Research Specialist @ Gonen Lab

____________________________________________________

    Janelia Research Campus * 19700 Helix Drive

Ashburn, VA 20147 * +1 (571) 209-4000 extension 3376



Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager