How to enable CUDA in eclipse without nvidia docker container? - eclipse

I have installed eclipse for C/C++ version on ubuntu 18.04, 64 bit
I have installed cuda 11.0.221.
nvcc and nvcc-smi works showing that cuda compiler and device driver are both installed
I have added cuda to eclipse using eclipse->help->install new software as suggested in Nsight Eclipse Plugins Edition Getting Started Guide and Nsight Eclipse Plugins Installation Guide
While installing it failed to install the "nvidia docker container launch" but installed the "cuda developer tools" and "cuda remote launch".
After installation, I don't see any CUDA related entry in Eclipse->Window > Preferences or Eclipse->file->new project. Images are below after the question:
My question is:
What to do so that eclipse is enabled with CUDA?
Other information:
OS: ubuntu 18.04 x86_64.
cuda 11.0.221.
Eclipse information:
Version: 2022-03 (4.23.0)
Build id: 20220310-1457
OS: Linux, v.5.4.0-74-generic, x86_64 / gtk 3.22.30
Java vendor: Ubuntu
Java runtime version: 11.0.13+8-Ubuntu-0ubuntu1.18.04
Java version: 11.0.13

If your version of Eclipse is compatible with the version of the NsightEE Eclipse plugins provided with the CUDA version you're trying to install for, then - after a successful installation - the File > New Project... dialog will have the entry C/C++ > CUDA C/C++ Project.
If it doesn't show up, then the installation has failed. I would guess that it might be a version incompatibility, and you might try using an older version of Eclipse (or a newer version of CUDA). Alternatively, perhaps the installation procedure got botched somehow.

Related

Antlr 4 IDE installation Failure

Following a clean install of Ubuntu 18.04, and subsequent installation of Eclipse (Version: Oxygen.3a Release (4.7.3a)) i have tried to install the Antlr4 ide using "Help -> Eclipse Marketplace", Search for Antlr4 and click Install (ANTLR 4 IDE 0.3.6). I am then given the error below:
My Java version is as follows:
%java -version
java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
Also installing jdk 11 resulted in this:
openjdk-11-jdk-headless is already the newest version (10.0.1+10-3ubuntu1)
I effectively get the same error when installing from https://marketplace.eclipse.org/content/antlr-4-ide.
Has this error been seen before, and is there a solution ?

How to install VMware Workbench IS on eclipse

I have tried unsucessfully to install VMware Workbench IS 3.5.7 [3.5.7.4238219] from https://code.vmware.com/web/workbench/wbis/3.5 . I tried (Help => Install new software) with two different versions of eclipse, having two different errors:
1) eclipse package from Ubuntu
I installed eclipse package for Ubuntu 16.04.2 LTS (Version: 3.8.1 , Build id: debbuild) and installed latest updates. When I tried to add the repository I got this error:
Cannot complete the install because one or more required items could not be found.
Software being installed: VMware Workbench CIM Tools 3.5.7.4236111 (com.vmware.vide.cimtools.feature.feature.group 3.5.7.4236111)
Missing requirement: Action Plug-in 3.5.7.4236111 (com.vmware.vide.p2action 3.5.7.4236111) requires 'package org.eclipse.equinox.p2.repository.artifact 2.3.0' but it could not be found
Missing requirement: Action Plug-in 3.5.7.4249275 (com.vmware.vide.p2action 3.5.7.4249275) requires 'package org.eclipse.equinox.p2.repository.artifact 2.3.0' but it could not be found
Cannot satisfy dependency:
From: VMware Workbench CIM Tools 3.5.7.4236111 (com.vmware.vide.cimtools.feature.feature.group 3.5.7.4236111)
To: com.vmware.vide.feature.feature.group [3.5.5,4.0.0)
Cannot satisfy dependency:
From: VMware Workbench Core 3.5.7.4236111 (com.vmware.vide.feature.feature.group 3.5.7.4236111)
To: com.vmware.vide.p2action [3.5.7.4236111]
Cannot satisfy dependency:
From: VMware Workbench Core 3.5.7.4249275 (com.vmware.vide.feature.feature.group 3.5.7.4249275)
To: com.vmware.vide.p2action [3.5.7.4249275]
I looked for that package org.eclipse.equinox.p2.repository.artifact 2.3.0 but I don't know how to satisfy it.
2) Latest eclipse from eclipse.org
I downloaded and executed the fresh eclipse installer for Linux 64 bits (again Ubuntu 16.04.2 LTS). It's Version: Neon.3 Release (4.6.3) and Build id: 20170314-1500. Again I installed latest updates and tried to install that VMware Workbench IS repository and I got this error:
An error occurred while configuring the installed items
session context was:(profile=_home_test_eclipse_java-neon_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null --> [R]com.vmware.vide.vlogbrowser.cli.feature.feature.group 3.5.7.4236111, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.ChmodAction).
The action chmod failed - file /home/test/eclipse/java-neon/eclipse/features/com.vmware.vide.vlogbrowser.cli.feature_3.5.7.4236111/app/vmwb-server does not exist
Can anybody help me to install VMware Workbench IS?
Thanks in advance!
/Angel
I realized that ubuntu's eclipse already provides the plugin org.eclipse.equinox.p2.repository, but it's version 2.2 and VMware Workbench IS requires 2.3. I don't know if it can be installed.
Finally I could install the workbench on a fresh eclipse Neon.3 Release (4.6.3) but just after installing the components one by one, in a common sense order and reading carefully the errors: missing folders that the installer is not creating for you, like $INSTALL_PATH/eclipse/java-neon/eclipse/features/com.vmware.vide.vlogbrowser.cli.feature_3.5.7.4236111/app/vmwb-server
Thanks and best regards
/Angel

Missing dependencies installing Lua Development Tools IDE Eclipse on Linux CentOS 7

I would like to use Eclipse for my Torch/Lua project, on my CentOS Linux release 7.3.1611 (Core) 64-bit notebook.
I installed the latest Eclipse Luna IDE and then I tried to install the Lua Development Tools (LDT) package by following their "Existing Eclipse Installation" on the website.
Unfortunately, after trying to install the package, Eclipse says:
The operation cannot be completed. See the details.
Cannot complete the install because one or more required items could not be found.
Software being installed: Lua Development Tools - Remote Development Support 1.4.1.201701231614 (org.eclipse.ldt.remote.feature.group 1.4.1.201701231614)
Missing requirement: Lua Development Tools - Core Feature 1.4.0.201608301710 (org.eclipse.ldt.core.feature.group 1.4.0.201608301710) requires 'org.eclipse.dltk.debug.ui 5.5.0' but it could not be found
Missing requirement: Lua Development Tools - Core Feature 1.4.1.201608302152 (org.eclipse.ldt.core.feature.group 1.4.1.201608302152) requires 'org.eclipse.dltk.debug.ui 5.5.0' but it could not be found
Missing requirement: Lua Development Tools - Core Feature 1.4.1.201701231614 (org.eclipse.ldt.core.feature.group 1.4.1.201701231614) requires 'org.eclipse.dltk.debug.ui 5.5.0' but it could not be found
Cannot satisfy dependency:
From: Lua Development Tools 1.4.0.201608301710 (org.eclipse.ldt.feature.group 1.4.0.201608301710)
To: org.eclipse.ldt.core.feature.group [1.4.0.201608301710]
Cannot satisfy dependency:
From: Lua Development Tools 1.4.1.201608302152 (org.eclipse.ldt.feature.group 1.4.1.201608302152)
To: org.eclipse.ldt.core.feature.group [1.4.1.201608302152]
Cannot satisfy dependency:
From: Lua Development Tools 1.4.1.201701231614 (org.eclipse.ldt.feature.group 1.4.1.201701231614)
To: org.eclipse.ldt.core.feature.group [1.4.1.201701231614]
Cannot satisfy dependency:
From: Lua Development Tools - Remote Development Support 1.4.1.201701231614 (org.eclipse.ldt.remote.feature.group 1.4.1.201701231614)
To: org.eclipse.ldt.feature.group 0.9.0
Does anyone have any idea about how to solve this problem?
Looks like the install wants version 5.5 or later of org.eclipse.dltk.debug.ui part of the Eclipse Dynamic Languages Toolkit.
It looks like version 5.5 is part of Eclipse Neon, so Luna is too old.
For Eclipse 2021-03 (4.19.0)
Install DLTK 5.x, such as latest 5.11, from menu "Install New Software"
Install Lua Development Tools (mine 1.4.x), from menu "Eclipse Marketplace"
Note that DLTK is not installed in Eclipse by default, and the latest DLTK 6.x is not compatible with latest Lua Development Tools 1.4.x
Ref: https://www.eclipse.org/forums/index.php/t/1101907/

Autotools support for CDT (3.2.0.201309180223) requires plug-in "org.eclipse.ui (3.4.0)", or later version

When I am installing CDT in Eclipse, in the updates I am getting:
"Autotools support for CDT (3.2.0.201309180223) requires plug-in "org.eclipse.ui (3.4.0)", or later version."
error message and If I uncheck and install CDT, it won't work.
I have install mingw for the compiler and working file
Sys Conf: Win 7 64-bit / 4Gb Ram
Eclipse: Eclipse 3.3.2
That indicates that you're trying to install the CDT version for Eclipse 3.4.
Either upgrade your Eclipse IDE or locate an older CDT version. I would recommend upgrading your Eclipse IDE, as Eclipse 3.3 was released in 2007! I doubt you can even find a version of CDT that supports that release.

google app engine eclipse installation fails

I have Eclipse Juno and Helios on my pcs. I have tried installing Google AppEngine plugin for Eclipse on both of them and there is always a failure. I have seen posts on the web saying that Google has confirmed there is a problem with the latest issue and v3.2 will be corrected. Is there any way I can install a version that will run with either of my
Eclipse installations and has anyone heard when v3.2 will be published?
it is possible to install gpe on juno, i have been using it for some time, and just did an update last night to 3.1.2
]$ uname -a
Linux Device-7DB829 3.6.7-1-ARCH #1 SMP PREEMPT Sun Nov 18 10:11:22 CET 2012 x86_64 GNU/Linux
]$ ./java -version
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)
Eclipse IDE for Java EE Developers 1.5.1.20121004-1506
Eclipse Platform 4.2.1.M20120914-1800
Java EE IDE Feature 1.5.1.20121004-1506
Google App Engine Java SDK 1.7.3 1.7.3
Google Plugin for Eclipse 4.2 3.1.2.v201211121240-rel-r42
good luck