nsight eclipse edition profiling nvprof - eclipse

I work on Ubuntu 10.04 and I develop in CUDA on nsight eclipse edition 5.0.0.
I have to use nsight eclipse edition to make a profiling of my code with nvprof. I can launch nvprof in the terminal to profile my code but when I want to launch profiling in nsight, it switch to the profile perspective but send me this error message
org.eclipse.core.runtime.CoreException: unable to find nvprof
I put the folder in the PATH but it did not work. For the debugger, there is a box where you can put the link to the debugger launcher but I did not find the same for the profiler configuration.
If somebody use nsight eclipse edition to make profiling please help me because there is nothing on the web and I really need it.
I will be appreciated if you can help me.
Thanks in advance

Did you try specifying path in the launcher script? CUDA 5.0 preview toolkit did not add path, this is how /usr/local/cuda/bin/nsight will look like in the upcoming toolkit realeases:
#!/bin/sh
PATH=$PATH:/usr/local/cuda-5.0/bin LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-5.0/lib:/usr/local/cuda-5.0/lib64 UBUNTU_MENUPROXY=0 LIBOVERLAY_SCROLLBAR=0 /usr/local/cuda-5.0/libnsight/nsight
Make sure the script points to the proper toolkit install location.

Related

Setting up Eclipse with a unprecise manual

I want to configure eclipse to use it with a new risc-v processor. For the configuration there is a manual given. But this manual is very unprecise and I'm not sure I will configure it the right way. I hope someone with experience in eclipse configuration can help me (I did work previously with eclipse, but no custom configuration). I'm using Windows 7, and already downloaded Eclipse, Eclipse IDE for C/C++ Developers Version: 2018-12 (4.10.0).
Here is the manual:
https://forum.kendryte.com/topic/35/build-kendryte-using-eclipse
I installed cmake, cmake4eclipse plugin (in eclipse) and downloaded the Toolchain (now available from kendryte) and SDK.
For the setting up steps, what is meant with:
2. "put ninja to your search path"?
4. How to "configure cmake. using generate "Eclipse Ninja""
5. Where to "launch openocd with -m0" in eclipse
I would be very grateful if someone with (eclipse) expericene could help me,
thank you very much!

Running into JDK files from Eclipse IDE

I develop software on Eclipse Mars IDE, under MS Windows 10 OS, based on Java v7. And now I've got some configuration problems related to the IDE. What I want, is that to run into JDK source code from the IDE once I click on the 'step into' (or in other way). I've included the 'src.zip' on the path in the way provided by the IDE. Yet, when I attempt to run into the source code, the IDE says the 'source code not found'.
I want this feature in order to be able to debug some things related to my current app.
Regards
You need to set this through the Java->Installed JRE's found in Eclipse -> Window ->Preferences. See screen shot below.

eclipse is not installing at all

I've installed jdk-8u65-windows-i586.exe and downloaded the latest version of Eclipse IDE.
When I double click on the eclipse-inst-win31.exe absolutely nothing happens.
MY OS is Windows Vista.
How can I resolve this problem?
Make sure you have a working java sdk in java_home variable - type java - version in cmd prompt
If you don't, reinstall java sdk and eclipse it should start.
Instead of using the Eclipse installer (which is still a rather new part of the Eclipse downloads), just take one of the complete distributions (scroll down below the installer on the download page).
While the installer first needs to download additional pieces from the Internet, those distributions are ready to start developing.

Qt application made in Eclipse doesn't start

I've been trying for a few hours now to make eclipse, mingw and Qt work, and I can't manage to.
No matter what I try, when I try to run the qt application (using Run or Debug, same thing), no window appears, and after a few seconds, Eclipse says 'program terminated'. Another time I tried (using some different configurations), windows would give that "Program has stopped" error.
If I try to launch the application from outside eclipse, I get a missing .dll error.
I have Qt 4.8.1 installed, latest version of eclipse, and I just installed the latest version of MinGW. I am also using the Qt plugin for Eclipse. I'm running Windows 7.
There are also some other minor problems:
For some reason I have to rebuild the index after opening/creating a project, or I'll get 'undefined include' errors.
The build (hammer) icon in the toolbar is grayed/disabled, why could that be?
For every new project, I need to change the make application to mingw32-make, is it possible to make the toolchain use this make executable or something?
I can't understand why Microsoft Visual Studio just works, I didn't have to set up anything other than install the Qt add-in, and Eclipse is so hard to configure...

How to install J2ME compatible platform/emulator in NetBeans IDE 6.7.1

I'm pretty new to J2ME development scene. And for that matter, have just recently installed, JDK 6 update 16 bundled with NetBeans 6.7.1 IDE and Sun WTK 2.5.2, on Ubuntu 9.04 machine.After going through some start up tutorials and basics, from various sites, I was eager to try some hands on experience by coding some 'Hello World' program. But to my dismay, I haven't been able to! After initial confusion, I'd installed 'Mobility' plugin for NetBeans IDE for J2ME development. But when I choose to create a new project, it turned out that, there is some error since now it says that 'No J2ME compatible platform/emulator found installed in NetBeans IDE'. I've searched through google to find a way to fix this issue but I couldn't find any solution on this matter.
Please help me to fix this issue. Do I need to re-install the IDE? Am I missing out something? I've tried various ways but the IDE simply doesn't detect any platform on my machine.
Thanks for your help.
Try this in Netbeans:
Click menu-item: Tools->Java Platforms
Click button: Add platform...
Choose radio-button: Java ME MIDP Platform Emulator
then click button: Next >
Find the directory where Netbeans 6.7.1 is installed
then click OK
WTK2.5.2 that comes with Netbeans should be visible. Select it and click Next and follow further instructions.
If no WTK is found the dowload it, unpack it and try as above again but find the directory to the WTK this time.
Hope this helps.