Search:

Type: Posts; User: abraxas334; Keyword(s):

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. [ubuntu] Cuda shared libraries strange behaviour

    I am running ubuntu 14.04 with a Tesla C2075 and an old GTX graphics card. I have installed the CUDA develoment toolkit version 6.5 and driver version 346.46. The installation was done via the .run...
  2. Replies
    0
    Views
    182

    Cuda dirvers from .run

    The problem is the following. I want to install the CUDA driver 340 and CUDA toolkit v. 6.5 (there is a reason for not using 7.0) on a Ubuntu machine running 14.04. The machine has been upgraded to...
  3. [server] Best file system for small cluster of ubuntu servers

    I am trying to work out which file system to use for a small computing cluster (say 1 head node) and 6 compute nodes, running ubuntu server. Also what would be a sensible partitioning on a the raided...
  4. Where is the Path set, that appears in my PATH variable?

    In what files do generally get Path variables set?

    I have a path to some directory in my PATH variable, which I don't understand how it gets added.
    In none of .bashrc .profile /etc/profile or...
  5. Replies
    2
    Views
    351

    The python way to do things

    Hi everyone,
    just a quick question as to how I would do something like this the python way, i.e. avoiding the for loop:



    #import numpy as np

    a = np.array([0,4,4,5,6,5,6,0,0,4,5,0,6])
    for i...
  6. customizing axis lables of two images using imshow

    Hi,
    I want to draw 2-d histograms using imshow() with matplotlib. I managed to do this with the following code and the image generated is the one I am interested in and I have attached.


    ...
  7. Re: Replacing one line in text file with line from other file

    Thanks for all the replies! This helped alot!
  8. Replacing one line in text file with line from other file

    I have a question regarding replacing line in files.
    I want to replace the ith line of replace.dat with the jth line of othertext.dat how can i achieve this?
  9. Replies
    1
    Views
    208

    [all variants] make a command globally executable

    I would like to know how to do the following:
    I have a directory with exactuable scripts:
    $path_to_dir/mm_script1
    $path_to_dir/mm_script1
    $path_to_dir/mm_script1

    at the moment I can execute...
  10. [ubuntu] installing graphics drivers not as sudo?

    Hi I was wondering it is at all possible to install a grphics driver not as root, i.e using sudo?

    Thanks!
  11. Replies
    2
    Views
    1,130

    Re: Cuda: toolkit installation

    Thanks for the reply! If i specify the library path I get the same error.
    My system admin is also not very helpful..
    I'll work something out tho!
  12. Replies
    2
    Views
    1,130

    Cuda: toolkit installation

    Hi,
    I am using a computer with 3 nvidia graphic cards, but I am not sure if it has the cuda development toolkit installed.
    I tried running a simple hello world program and I get the following...
  13. Replies
    6
    Views
    483

    Re: bash renaming files

    Ok i guess i sloved it myself:



    #!/bin/bash

    arr=(foo*.dat) # * is list of all file and dir names

    n=${#arr[@]}
    echo "number of files and dirs "$n
  14. Replies
    6
    Views
    483

    Re: bash renaming files

    No not quite, I want the numbering to be continuous, at the moment there is a random gap in the numbering somewhere, as in it goes from say 0 to 50 and then starts again at 150. the underscore I...
  15. Replies
    6
    Views
    483

    Re: bash renaming files

    The mv you suggest assumes that foo_"$j".xvg is a directory.

    The error I get is that the target is not a directory...
  16. Replies
    6
    Views
    483

    bash renaming files

    Hi
    I have the following problem I am not sure how to solve elegantly.
    I have a directory with 203 files named foo_*.xvg for the * substitute numbers from 0 to 302
    Now evidently the numbering...
  17. Replies
    4
    Views
    15,250

    modulus in bash

    After googling many things i really cannot workout, where I am going wrong.

    I amtrying to print out a variable if the number is even:
    My very basic script looks like this:



    #!/bin/bash
    ...
  18. Replies
    0
    Views
    1,036

    delete specific columns in 2d numpy array

    i have a [4x10] numpy array.
    I want to remove all columns where just one negative number can be found

    So my orriginal array may look like this:


    >>>np_states
    array([[ -3.00000000e-01, ...
  19. Replies
    3
    Views
    965

    Re: java new line character

    Problem solved:
    A quick if(textline.length==0) check actually does the trick!
  20. Replies
    3
    Views
    965

    Re: java new line character

    No I am not using Buffered Reader. I cannot use the buffered reader now instead either, so I need to somehow do this manually.
  21. Replies
    3
    Views
    965

    java new line character

    Hi,
    I am trying to read a file which has a few new line characters as lines.
    It basically looks like this:
    10 6\n
    23 5\n
    34 6\n
    34 6\n
    \n
    \n
  22. bash script for getting number of numbers per line

    I need a bash script, that reads the line with the fewest number of numbers (not characters) and the largest number of entries into two files.
    the original file will be something like:
    1 34 5 6 7...
  23. Replies
    0
    Views
    269

    Java -call order?

    I am a bit confused as to what gets called when:
    I have a class called FrameDataIterator:


    class FrameDataIterator implements Iterator<IVector>
    {
    // current trajectory index
    ...
  24. Replies
    7
    Views
    562

    Unit testing in Java

    Hi,
    I would like to learn about unit testing in java. What is the best way of doing this?
    Let's assume I have a class with 3 individual functions, where each is relying on each other for a correct...
  25. Replies
    10
    Views
    587

    manipulate file with bash/python script

    Hi, I am trying to manipulate a file, which is a mix of text and numbers.
    To be precise it requires the alteration of the third column, provided that the line starts with a number. My first approach...
Results 1 to 25 of 168
Page 1 of 7 1 2 3 4