-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
collect2: error: ld returned 1 exit status #4
Comments
Hello. First of all, thank you for using our NPB version. Second, please provide us with information about your hardware and software. This information includes the operating system, Linux kernel, CUDA, and GCC versions. We must also know your GPU model (for instance, an NVIDIA GTX 1070 GPU). Third, you seem to be facing an issue with compiling the NPB. When you compile the EP benchmark (with the command make ep CLASS=B) in the NPB root directory ("CUDA"), does it generate a binary file in the "../bin" directory? Do you have the directory "bin" in the NPB root directory? We must have this directory to compile the benchmarks. |
Thank you for you suggestions. |
I mentioned the "bin" directory in the NPB suite (so you don't need administrator privileges). For instance, you can follow this set of steps:
Additionally, follow this set of steps and send us the output:
Please inform your GPU model if these steps do not work. |
By the way, Could you describe the meaning of the parameters if you are conveninet? |
First, your output is incorrect. Look at the line with the word "verification"; if the verification is UNSUCCESSFUL, the results are wrong. If the verification is SUCCESSFUL, the results are correct. Second, it seems like you are using an old repository version. The execution should print the CPU and GPU model. Please, download the current version of the repository using the command Third, you must compile the source code using the compute capability of your GPU. For this purpose, you must edit the file make.def in the NPB:
Fourth, if the compute capability of your GPU is inferior to 6, please add this source code in the EP.cpp code:
|
Do you want to know the meaning of which NPB parameters? |
|
When I run your code in linux with cuda and gcc, I meet with the problem which describes "/usr/bin/ld: cannot open output file ../bin/ep.B: No such file or directory".
I dn not know the reason of it, so I need your help to assit me to deal with the problem.
The text was updated successfully, but these errors were encountered: