[SOLVED] Trying to use CUDA just with the package "cuda"

I have uninstalled everything related to X and gnome-desktop in order to have a server that can run CUDA programs,  remotely accessed via ssh.
I installed the cuda package from repositories
sudo pacman -S cuda
when i try to compile its no problem
nvcc -arch sm_35 -lcudart -lcurand -I/opt/cuda/include/ -I/opt/cuda/samples/common/inc/ src/main.cu -o a
But when i execute i get this error
CUDA error at src/main.cu:228 code=35(cudaErrorInsufficientDriver) "cudaMalloc(&dstates, (N/4) * sizeof(curandState))"
From what we can read, it says insufficient driver. Yes, I do not have nvidia driver installed neither nvitia-utils.
If i install nvidia driver, the dependencies are huge, including Xorg. That is unwanted.
Does anyone know if there is a solution to this?
Last edited by labotsirc (2014-06-04 21:11:12)

HiImTye wrote:the package cuda is an sdk/toolkit, so unless you are using something like blender, you should probably uninstall it as it is quite large (1.7GB) and sometimes has a lot of updates
I agree it is quite large. I wish the essential CUDA runtime library ( -lcudart ) and some other important helper header files could live in a separate package. Installing the whole "cuda" is the only way i know at the moment.
Last edited by labotsirc (2014-06-08 21:47:10)

Similar Messages

  • HT4437 I have successffully used my iPad with the Apple TV with no problem but just recently, the Airplay icon doesn't come up on the iPad anymore when I'm trying to connect.   What can I do to fix this?

    I have successffully used my iPad with the Apple TV with no problem but just recently, the Airplay icon doesn't come up on the iPad anymore when I'm trying to connect.   What can I do to fix this? 

    Try restarting your router as a first thing, this sometimes works for me.

  • I am trying to use apple configurator with ipads. I have been successful with all our ipads but 1. It will not allow me to add apps. The error I get is that it is refreshed but with errors e

    I am trying to use apple configurator with ipads. I have been successful with preparing and supervising all ipads but one. When preparing it in configurator, I receive an error that it is refreshed but with an error. Under supervise, I am not able to add apps. I have erased all content to start over but this does not work either

    Are you trying to restore a backup, or just sync some apps? Do you have profiles installed on the device?
    Have you plugged the ipad into iTunes, and did a fresh install? I'm assuming the device went through the prepare setup properly. You many have to unsupervise it first, then plug it into iTunes to wipe it completely.
    I'd then do each step seperately. Prepare it, then install 1 app, if that works, try another app, then maybe a profile.

  • I'm trying to download Photoshop CC with the creative cloud app. When I click on updates it just spins and spins, nothing happens.  Help!

    I'm trying to download Photoshop CC with the creative cloud app. When I click on updates it just spins and spins, nothing happens.  Help!

    Hello,
    I fear it's a challenge for Adobe's Creative Cloud Cleaner Tool. Sometimes - for whatever reasons - CC (together with the Apps) doesn't "want" to work. In this case you should CC completely delete and reinstall by help of Adobe Creative Cloud Cleaner Tool. (A try to uninstall by own resources is not enough!)
    I quote: ... helps resolve installation problems for Adobe Creative Cloud and Adobe Creative Suite (CS3-CS6) applications. The tool removes installation records for prerelease installations of Creative Cloud or Creative Suite applications. It does not affect existing installations of previous versions of Creative Cloud or Creative Suite applications.
    Please use: http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html  and follow the prescribed sequence of operations
    If necessary and for further questions and if "open" please use chat, I had the best experiences.
    Hans-Günter

  • HT1926 I tried to update my itune with the latest update and now I can't use itunes at all . All I get is MSVCR80.dll and then Error7 (windows error 126) what can I do ????

    I tried to update my itune with the latest update and now i can't use itune at all . I have tried reinstalling it . all get is MSVCR80.dll and then I get Error 7 (windows erreor 126) . Need help please .

    Similar problem here.  iTunes11 notified me it was available.  However, auto-update failed.  So, I downloaded for manual update.  That failed with "permission" message.  I am administrator on this machine (WIN7).  I tried uninstalling old version, but it failed with same permission issue.  I now can't start iTunes... throws permission message.  So, I'm completely dead in the water.  Does this stuff get tested before it's shipped?

  • Hello. I am having much difficulty using any software drum program. I am trying to use EZ Drummer and the drum programs in Logic, with limited success. I was using them, and they were working, but this is no longer the case. Please help me navigate my way

    Hello.
    I am having much difficulty using any software drum program. I am trying to use EZ Drummer and the drum programs in Logic, with limited success. I was using them, and they were working, but this is no longer the case. Please help me navigate my way through these issues, if possible.
    Thanks.
    Eric

    Aha! I have sorted it.
    For those with similar problems, the solution is this:
    Macintosh HD > Library > Audio > MIDI Drivers
    Then delete DigiDioMidiDriver.plugin

  • Just got an iMac. I am trying to use Migration Assistant. The Mac side seems to be doing it's job, but my PC just keeps "Waiting for the Mac to connect." For over an hour.

    Just got an iMac. I am trying to use Migration Assistant. The Mac side seems to be doing it's job, but my PC just keeps "Waiting for the Mac to connect." For over an hour.

    Probably a PC issue, you can try calling AppleCare, you are covered for 90 days from the date of purchase and can find the phone number in the owners manual. Also please look over:
    http://drtyhnds.blogspot.com/2011/08/how-to-use-migration-assistant-from-pc.html
    and
    http://pondini.org/OSX/SetupLion.html
    Thomas,
    It would also be extremely helpful to those trying to help you if you complted your Profile so we at least know what iMac and version of OS X is installed. Click Your Stuff in the upper right then click Profile and complete the necessary fields including what part of the planet you're located.

  • I've just downloaded facetime and every tie I attempt to open it I get the message"there was a problem with facetime you need to quit and reopen facetime" I've tried this but  I just get the same message again and again

    i've just downloaded facetime and every tie I attempt to open it I get the message"there was a problem with facetime you need to quit and reopen facetime" I've tried this but  I just get the same message again and again

    Hello tadom,
    Thanks for the question. The following article outlines the exact error message you described, and a potential resolution:
    OS X: "An internal FaceTime error occurred" alert after clicking Facetime icon in the Dock
    http://support.apple.com/kb/TS4457
    Thanks,
    Matt M

  • Trying to use laf project for the first time

    hi all , i need help , please
    i am trying to use laf project for the first time as i said , and i want help on
    the installation process
    step by step please , i am soo junior here
    i've just downloaded the zip file as the site said (http://fdtool.free.fr/LAF/doc/implementation.htm)
    please go to this url and declare the steps to me
    thanks in advance

    The Forms Look and Feel Project is not an Oracle product. This product was developed by Francois Degrelle. Francois has posted numerous times in this forum that if you need help with the LAF you have to go to the Oracle Forms Look & Feel Project web site or his PJCs and Java Beans Forum for support.
    Craig...

  • I am trying to save a document with the new pages and it will only save as a zip file any ideas on how to change this?

    I am trying to save a document with the new Pages and it is only saving as a ZIP file anyone know how to fix this or choose a different file type?

    Take a look at the FileSelector
    First make sure the FileSelector is expanded so you can see the directory and sidebar. That's what the little disclosure triangle up by the filename is for. Once the FS has been expanded to look like the above picture, look to see what subdirectory has been selected. Use the SideBar to select an appropriate one.

  • I'm trying to use kerberos V5 with ActiveDirectory but get an error

    I'm trying to use kerberos V5 with ActiveDirectory im using simple code from previuos posts but
    when i try with correct username/password i get :
    Authentication attempt failedjavax.security.auth.login.LoginException: Message stream modified (41)
    when i try incorrect username/pass i get :
    Pre-authentication information was invalid (24)
    Debug info is :
    Debug is  true storeKey false useTicketCache false useKeyTab false doNotPrompt false ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is false principal is null tryFirstPass is false useFirstPass is false storePass is false clearPass is false
    Kerberos username [naiden]: naiden
    Kerberos password for naiden:      naiden
              [Krb5LoginModule] user entered username: naiden
    Acquire TGT using AS Exchange
              [Krb5LoginModule] authentication failed
    Pre-authentication information was invalid (24)
    Authentication attempt failedjavax.security.auth.login.LoginException: Java code is :
    import javax.naming.*;
    import javax.naming.directory.*;
    import javax.security.auth.login.*;
    import javax.security.auth.Subject;
    import com.sun.security.auth.callback.TextCallbackHandler;
    import java.util.Hashtable;
    * Demonstrates how to create an initial context to an LDAP server
    * using "GSSAPI" SASL authentication (Kerberos v5).
    * Requires J2SE 1.4, or JNDI 1.2 with ldapbp.jar, JAAS, JCE, an RFC 2853
    * compliant implementation of J-GSS and a Kerberos v5 implementation.
    * Jaas.conf
    * racfldap.GssExample {com.sun.security.auth.module.Krb5LoginModule required client=TRUE useTicketCache=true doNotPrompt=true; };
    * 'qop' is a comma separated list of tokens, each of which is one of
    * auth, auth-int, or auth-conf. If none is supplied, the default is 'auth'.
    class KerberosExample {
    public static void main(String[] args) {
    java.util.Properties p = new java.util.Properties(System.getProperties());
    p.setProperty("java.security.krb5.realm", "ISY");
    p.setProperty("java.security.krb5.kdc", "192.168.0.101");
    p.setProperty("java.security.auth.login.config", "C:\\jaas.conf");
    System.setProperties(p);
    // 1. Log in (to Kerberos)
    LoginContext lc = null;
    try {
    lc = new LoginContext("ISY",
    new TextCallbackHandler());
    // Attempt authentication
    lc.login();
    } catch (LoginException le) {
    System.err.println("Authentication attempt failed" + le);
    System.exit(-1);
    // 2. Perform JNDI work as logged in subject
    Subject.doAs(lc.getSubject(), new LDAPAction(args));
    // 3. Perform LDAP Action
    * The application must supply a PrivilegedAction that is to be run
    * inside a Subject.doAs() or Subject.doAsPrivileged().
    class LDAPAction implements java.security.PrivilegedAction {
    private String[] args;
    private static String[] sAttrIDs;
    private static String sUserAccount = new String("Administrator");
    public LDAPAction(String[] origArgs) {
    this.args = (String[])origArgs.clone();
    public Object run() {
    performLDAPOperation(args);
    return null;
    private static void performLDAPOperation(String[] args) {
    // Set up environment for creating initial context
    Hashtable env = new Hashtable(11);
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.sun.jndi.ldap.LdapCtxFactory");
    // Must use fully qualified hostname
    env.put(Context.PROVIDER_URL, "ldap://192.168.0.101:389/DC=isy,DC=local");
    // Request the use of the "GSSAPI" SASL mechanism
    // Authenticate by using already established Kerberos credentials
    env.put(Context.SECURITY_AUTHENTICATION, "GSSAPI");
    env.put("javax.security.sasl.server.authentication", "true");
    try {
    /* Create initial context */
    DirContext ctx = new InitialDirContext(env);
    /* Get the attributes requested */
    Attributes aAnswer =ctx.getAttributes( "CN="+ sUserAccount + ",CN=Users,DC=isy,DC=local");
    NamingEnumeration enumUserInfo = aAnswer.getAll();
    while(enumUserInfo.hasMoreElements()) {
    System.out.println(enumUserInfo.nextElement().toString());
    // Close the context when we're done
    ctx.close();
    } catch (NamingException e) {
    e.printStackTrace();
    }JAAS conf file is :
    ISY {
         com.sun.security.auth.module.Krb5LoginModule required
    debug=true;
    };krb5.ini file is :
    # Kerberos 5 Configuration File
    # All available options are specified in the Kerberos System Administrator's Guide.  Very
    # few are used here.
    # Determines which Kerberos realm a machine should be in, given its domain name.  This is
    # especially important when obtaining AFS tokens - in afsdcell.ini in the Windows directory
    # there should be an entry for your AFS cell name, followed by a list of IP addresses, and,
    # after a # symbol, the name of the server corresponding to each IP address.
    [libdefaults]
         default_realm = ISY
    [domain_realm]
         .isy.local = ISY
         isy.local = ISY
    # Specifies all the server information for each realm.
    #[realms]
         ISY=
              kdc = 192.168.0.101
              admin_server = 192.168.0.101
              default_domain = ISY
         }

    Now it works
    i will try to explain how i do this :
    step 1 )
    fallow this guide http://www.cit.cornell.edu/computer/system/win2000/kerberos/
    and configure AD to use kerberos and to heve Kerberos REALM
    step 2 ) try windows login to the new realm to be sure that it works ADD trusted realm if needed.
    step 3 ) create jaas.conf file for example in c:\
    it looks like this :
    ISY {
         com.sun.security.auth.module.Krb5LoginModule required
    debug=true;
    };step 4)
    ( dont forget to make mappings which are explained in step 1 ) go to Active Directory users make sure from View to check Advanced Features Right click on the user go to mappings in secound tab kerberos mapping add USERNAME@KERBEROSreaLm for example [email protected]
    step 5)
    copy+paste this code and HIT RUN :)
    import java.util.Hashtable;
    import javax.naming.Context;
    import javax.naming.NamingEnumeration;
    import javax.naming.NamingException;
    import javax.naming.directory.Attributes;
    import javax.naming.directory.DirContext;
    import javax.naming.directory.InitialDirContext;
    import javax.naming.directory.SearchControls;
    import javax.naming.directory.SearchResult;
    import javax.security.auth.Subject;
    import javax.security.auth.login.LoginContext;
    import javax.security.auth.login.LoginException;
    import com.sun.security.auth.callback.TextCallbackHandler;
    public class Main {
        public static void main(String[] args) {
        java.util.Properties p = new java.util.Properties(System.getProperties());
        p.setProperty("java.security.krb5.realm", "ISY.LOCAL");
        p.setProperty("java.security.krb5.kdc", "192.168.0.101");
        p.setProperty("java.security.auth.login.config", "C:\\jaas.conf");
        System.setProperties(p);
        // 1. Log in (to Kerberos)
        LoginContext lc = null;
        try {
                lc = new LoginContext("ISY", new TextCallbackHandler());
        // Attempt authentication
        lc.login();
        } catch (LoginException le) {
        System.err.println("Authentication attempt failed" + le);
        System.exit(-1);
        // 2. Perform JNDI work as logged in subject
        Subject.doAs(lc.getSubject(), new LDAPAction(args));
        // 3. Perform LDAP Action
        * The application must supply a PrivilegedAction that is to be run
        * inside a Subject.doAs() or Subject.doAsPrivileged().
        class LDAPAction implements java.security.PrivilegedAction {
        private String[] args;
        private static String[] sAttrIDs;
        private static String sUserAccount = new String("Administrator");
        public LDAPAction(String[] origArgs) {
        this.args = origArgs.clone();
        public Object run() {
        performLDAPOperation(args);
        return null;
        private static void performLDAPOperation(String[] args) {
        // Set up environment for creating initial context
        Hashtable env = new Hashtable(11);
        env.put(Context.INITIAL_CONTEXT_FACTORY,
        "com.sun.jndi.ldap.LdapCtxFactory");
        // Must use fully qualified hostname
        env.put(Context.PROVIDER_URL, "ldap://192.168.0.101:389");
        // Request the use of the "GSSAPI" SASL mechanism
        // Authenticate by using already established Kerberos credentials
        env.put(Context.SECURITY_AUTHENTICATION, "GSSAPI");
    //    env.put("javax.security.sasl.server.authentication", "true");
        try {
        /* Create initial context */
        DirContext ctx = new InitialDirContext(env);
        /* Get the attributes requested */
        //Create the search controls        
        SearchControls searchCtls = new SearchControls();
        //Specify the attributes to return
        String returnedAtts[]={"sn","givenName","mail"};
        searchCtls.setReturningAttributes(returnedAtts);
        //Specify the search scope
        searchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE);
        //specify the LDAP search filter
        String searchFilter = "(&(objectClass=user)(mail=*))";
        //Specify the Base for the search
        String searchBase = "DC=isy,DC=local";
        //initialize counter to total the results
        int totalResults = 0;
        // Search for objects using the filter
        NamingEnumeration answer = ctx.search(searchBase, searchFilter, searchCtls);
        //Loop through the search results
        while (answer.hasMoreElements()) {
                SearchResult sr = (SearchResult)answer.next();
            totalResults++;
            System.out.println(">>>" + sr.getName());
            // Print out some of the attributes, catch the exception if the attributes have no values
            Attributes attrs = sr.getAttributes();
            if (attrs != null) {
                try {
                System.out.println("   surname: " + attrs.get("sn").get());
                System.out.println("   firstname: " + attrs.get("givenName").get());
                System.out.println("   mail: " + attrs.get("mail").get());
                catch (NullPointerException e)    {
                System.err.println("Error listing attributes: " + e);
        System.out.println("RABOTIII");
            System.out.println("Total results: " + totalResults);
        ctx.close();
        } catch (NamingException e) {
        e.printStackTrace();
    }It will ask for username and password
    type for example : [email protected] for username
    and password : TheSecretPassword
    where ISY.LOCAL is the name of kerberos realm.
    p.s. it is not good idea to use Administrator as login :)
    Edited by: JOKe on Sep 14, 2007 2:23 PM

  • I am unable to create a new event on my iPhone with IOS 7.0.4. I tap the plus sign, fill in the details, tape Done and ... nothing. Repeatedly. No problem on my iMac or iPad, just with the phone. Help.

    I am unable to create a new event on my iPhone with IOS 7.0.4. I tap the plus sign, fill in the details, tape Done and ... nothing. Repeatedly. No problem on my iMac or iPad, just with the phone. Help.

    Assuming you're creating this event to place in your calendar, and assuming this calendar is shared with your iMac and iPad using iCloud, might the calendar be restricted on your iPhone?
    Check Settings > General > Restrictions

  • Can't I use my Scanner with the Elements 10 editor without the organizer??

    I have been using Photoshop Elements for a looong time to help me create the product images I need for my online business. It's been a love-love relationship... until I took advantage of a special offer and bought Elements 10. Now it seems the only way I can scan images is thru the Organizer.... and the organizer is something I don't need.
    Is there a way to scan my images thru the Editor only... and completely bypass the organizer (as I'm able to do with my older version of Elements)? Like a twain plugin I can install or something?
    I may scan 10 images and decide to use only 3 of them... and those are the only ones I save.
    With the way PSE10 is set up using the Organizer to scan, it's saving all 10 of them. Not to mention the extra steps of scanning thru the Organizer... (which means that pop-up window for my scanner every time), back over to the editor to pull the images in for editing, back to my files to delete the ones the organizer saved that I don't want... etc etc etc.
    It's like 5-6 extra steps altogether and a huge time-sink for me (you know the old saying... time is money).
    If there's no way to bypass the Organizer for scanning.... can I get a refund on my purchase? My older version of Elements works beautifully for me...  I was just hoping for  more sophisticated image editing capabilities.
    VERY frustrated right now.

    Thank you very much for your explanation which I fully understand.  Since a "fix", as you say, is not a solution might it not be a good idea to alert purchasers of the latest editions of Elements that they have an option to try this alteration to the installation in order to be able to import images from a scanner?  (My own experience with versions prior to 9 always worked perfectly!)  I do not know but does Photoshop CS5 allow the user to import images from a scanner or does the user have to use a similar solution to what applies to Photoshop Elements?  I find Elements to be a very good app and am sure it is a good selling product for Adobe for amateur/semi-pro users that the alternative that I suggest may be a useful tool for existing or new users who want or need the capability to import from a scanner rather than having to go through other more difficulty and time consuming ways of doing the same task.  Kindest regards and with my best intentions.
    Fergus Cooper
    Date: Tue, 20 Dec 2011 12:50:51 -0700
    From: [email protected]
    To: [email protected]
    Subject: Can't I use my Scanner with the Elements 10 editor without the organizer??
        Re: Can't I use my Scanner with the Elements 10 editor without the organizer??
        created by Barbara B. in Photoshop Elements - View the full discussion
    It's not a "fix", exactly. The TWAIN plug-in causes a lot of crashing in PSE so in the past couple of versions adobe makes you install it if you want it.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4096095#4096095
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4096095#4096095. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Photoshop Elements by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • "500 internal server error" when trying to use F4 help in the variable sele

    Hi Experts,
    I am getting "500 internal server error" when trying to use F4 help in the variable selection screen (in WAD).
    How could this be resolved?
    Quick reply would be very helpfull.
    Thanks in advance !!

    It seems you are using wrong client ID. Make sure your logon pad has right details. You should verify this with your basis team.
    If the problem persists then try re-installing. But before you do that you can execute sapbexc.xla which is in the c:\program files\sap\bw. Type c:\ in cell c3 and click "start button". Any red flag means you have wrong version dll/ocx on your local drive, in that case you should reinstall with right patches.
    if this solution helps u then pls assign points

  • HT200169 Having a problem with Logic 9 on a Mac Pro.Working on a lenghty song and apparently session got corrupted.Doesnt let me export tracks,program crashes.Already tried start brand new session with the tracks imported into it but still wont export.Sug

    Hello,having a problem with Logic 9 on a Mac Pro.Working on a lenghty song and apparently session got corrupted.Doesnt let me export tracks,program crashes.Already tried start brand new session with the tracks imported into it but still wont export.Suggestions?

    Thanks, Ian. Yeah, that's how I do it now...or with the controls in the left side pane. Still, I would have liked that quick on-the-spot edit capability...especially while sketching.
    Ian Turner wrote:
    Sorry Mark, you are out of luck as it does not do that - it works the same as L8. The way I would achieve that with more accuracy and control would be to route all the tracks you want to fade to a Bus then use volume automation on the bus. To do this you will need to add a standard audio track, then re-assign it using (Control Click on the track header) to the Bus track. You can then automate volume/plugins etc on the Bus track.
    Ian

Maybe you are looking for