General :: Compilea Code For A Software Tool For PFDTD Processing?
Aug 5, 2010
I am new to this network and to linux and have a question involving instructions I have received from a faculty member. I am trying to run a program to compile some GUI output files for PFDTD processing to create electromagnetic survey models. I created a symbolic link to a file subdiv.f90 which is a software tool for partitioning a Maxwell block into multiple blocks for parallel processing on multiple processors. I was told to use the command:
ifort -O2 subdiv.90
to compile it, and that I may have to use the module command:
module include intel-compilers-10.0.023
to compile the code. Neither have worked and I am wondering if anyone knows of an alternative compiler command that I might try.
As a part of my project I have to write the code from scratch in c/c++ but I already have a full blown Java code available with me. Is there any tool that can do the same.
New to Fedora (from Windows), I am up and running ok with packages from the repository but only half ok with Processing, the Java graphics programming front end from processing.org.Their download gave me a .tgz file which Package Manager extracted for me into a location of my choice and where there is now a "processing" shell script.This works ok and I have managed to create a launcher on the desktop. That starts ok but always with processing's default action of giving you a new and automatically named work file.In Windows an existing Processing file (.pde file) could be "opened-with" Processing. Trying to do similar in Fedora I find that I am expected to nominate an Application to open with but Processing has not installed as an application.I guess the question is how do I promote Processing to be an Application?Or is there a different approach?
I have learnt that the network locked huawei modems may be unlocked to use any sim card bu getting a special unlock code and it should ask for it when a "foreign" SIM card is inserted. This procedure works well in Windows, but in Linux where I use wvdial, I dont get prompted for this unlock code. Does anyone know how to insert the unlock code in Linux using any Linux tool (GAMMU/GNOKII/Minicom etc)?
while start following some tutorials, i face lot of problems only with nvidia-driver.for example, if i try to apt-get install chkconfig, the result will be as below:
Reading package lists... Done Building dependency tree Reading state information... Done
While converting some images using ImageMagick, I noticed a somewhat strange effect. Using xargs was significantly slower than a standard for loop. Since xargs limited to a single process should act like a for loop, I tested that, and found it to be about the same.
Thus, we have this demonstration.
Quad core (AMD Athalon X4, 2.6GHz) Working entirely on a tempfs (16g ram total; no swap) No other major loads
I'm using Ubuntu 11.04. I'm running processes that repeatedly spawn Firefox browsers with Flash embedded in the pages. Occasionally the Flash processes (npviewer.bin) spin off and use almost all the CPU power. How can I limit the total CPU usage of all the Flash pieces to no more than 30% of CPU?
I am using the following command: zgrep -a --text "TEST" * | awk -F"[ .,]" '{sub(".*:","",$6); sub(",.*","",$7); print $1,$6,$7,$10} and getting N3 2009-11-25 20:12:57 TEST N4 2009-11-28 10:42:18 TEST N6 2009-12-01 10:00:24 TEST
If I only want to search the log file after 2009-11-29, what shall I change the command?
I want to write a script. I have the basic form working... but I would like to add some advanced features. I have a list of .zip files that have a version number in the filename (i.e. sudoku-134.zip, sudoku-176.zip, sudoku-203.zip, etc). I would like to have a script that will find the latest version of each game, and unzip it. I want the next to latest version left untouched. But anything older, I would like the unzipped folder deleted (But leave the .zip file)
Here's what I have so far: Code: #!/bin/bash cd /var/www/vhosts/server.com/httpsdocs/games/$1 for file in `ls *.zip`; do if [ -d ${file%.*} ]; then echo else mkdir ${file%.*} cd ${file%.*} unzip ../$file > /dev/null cd .. echo 'date' $file >> /var/www/vhosts/games4roku.com/private/$1.log fi done I can call the script with "game-unzip public" to unzip all the public games.
Here's my files: Code: sudoku-134.zip sudoku-134/ sudoku-176.zip sudoku-176/ When I add the latest version, sudoku-203.zip, I want it to unzip it to ./sudoku-203/ and rm -rf sudoku-134
I am using cent os 5. When we turn on the PC I can see things which are going to be loaded and the status is [ok] in green colour. Which file linux uses for this process.
My Ubuntu system is occasionally becoming very sluggish. I'm running many things simultaneously and it's very difficult to tell which program is the culprit.
I suspect that the sluggishness is due to disk activity since the CPU usage is consistently under 50% on each of the 4 cores of the CPU, and over 30% of the 6GB of RAM are free.
Is there a tool that can show me in real time the number of disk IO operations per second and the amount of data read/written per second? Can all this info be broken down and displayed per process?
PackageKit is a system designed to make installing and updating software on your computer easier. The primary design goal is to unify all the software graphical tools used in different distributions, and use some of the latest technology like PolicyKit to make the process suck less.
Specifically I'm looking for a native Linux program that is similar in functionality to Navicat or SQLYog. I.e. I need something good at editing data. Free would be best, but not essential.
I need to design a USB diagnostic tool which can monitoring USB registers' content inside a ARM based MCU. I've already clear that how to judge the USB registers are correct or not during transmission, while I don't know how to implement such a program.Is there any similar code or existing linux module that can be used as a reference?
I wonder if there is any tool that can read health of my HDD's? There are tons in windows but what options are there in Linux? I would really hope there is a tool a can install without using terminal cause I dont have web access for the Xubuntu right now. If anyone aware of such a tool, preferable a .deb file so I can easily install without hazzle. Also I hope tools like that are not littered with tons of dependencies. Cause those dependencies are a major challenge without online connection. If there exist any smart terminal commands that will let med check health status pls let me know and pls write down the command. I have enabled the s.m.a.r.t in BIOS. I have 4 drives running Raid 0 if that matters.
I have an ISO CD image file and want to extract it's contents to a folder. I know there are ways to mount the image and stuff, but it's complicated. I'm looking for a GUI tool to open up the contets and extract needed files. On windows I would use WinRar to do this. K3B only allows me to burn the stuff, Arch does not work with ISO files :(Is there a similar tool on Linux, preferably from KDE world?
I have installed emacs23 on Linux Mint 8. I would like to hide the toolbar, and I can do it with Options > Show/Hide > Tool-bar. But the Tool-bar comes back next time I start emacs. How can I hide it persistently?
Does anybody know of tool for Linux that can watch a custom subtree of the filesystem for changes, and executes a custom command when a change occurs ? Such a tool would be very useful to quickly setup automatic building or uploading of source files.