answersLogoWhite

0

📱

Computer Networking

Computer networks are collections of computers which are connected together in order to communicate and transfer information. Questions about computer networks, networking protocols, and how to set them up belong here.

18,810 Questions

Which command would you use to run a Fortran code?

Fortran is a programming language, which means you write a program in Fortran, and COMPILE it to an EXECUTABLE program. The compiler you use differs depending on which operating system platform you intend to run the program on. If you wish to run the program on a PC using Windows XP, you must first compile it using a specific Fortran-compiler for Windows XP. The result after compiling will be an executable file (with the file-ending .exe). To find a suitable compiler, check out download.com, for instance.

Given that you know it is Fortran Code, we can assume that you do not have a compiled one, but just raw Frotran Source code.

To compile it, you need a Fortan compiler suitable for both your operating system as well as the version of Fortran the code was written for.

There is a free Fortran Compiler for Fortran77 from the GNU Project:

For Windows: http://www.geocities.com/Athens/Olympus/5564/

For Unix: http://www.gnu.org/software/fortran/fortran.HTML

The above is correct assuming your question is "Given the Fortran source code, how do I run it?" However if your question is "Given the Fortran executable (ProgName.exe) how do I run it?", the is that you run it like any other program. You either: 1 - Double-click on the file name OR 2 - Open a DOS window, go to the directory where the file is and type in the filename with or without the extension .exe OR 3 - You can select Start and Run and type in the filename.

Like any "compilable" language it can be used to build an exe or a dll. But a dll MUST be called by another program to run, you can only run a .exe directly.

------------------

In addition the workflow for running a Fortran program on a *nix platform (such as Unix, Linux, or Mac OSx) would be as such:

1) Write given Fortran code with proper extension

a) Fortran 77 - *.fb) Fortran 90 - *.f90c) Fortran 95 - *.f95

2) Compile using your compiler suite (showing examples for a few different cases)

a) for gfortran as mentioned abovegfortran myfile.f90 -o myExecutableg77 myfile.f77 -o myExecutableb) for OpenMPImpif90 myfile.f90 -o myExecutablempif77 myfile.f77 -o myExecutablec) for Intel Fortranifort myfile.f90 -o myExecutable

3) To run the executable first make sure it is marked as executable, this can by going to the folder in which it was compiled then typing:

ls -l

You will then see the myExecutable file marked with permissions. Check to see if the executable permission is there. If it is not, you must change permissions to allow it to be executed. This is done by typing:

chmod a+x myExecutable

4) Finally to actually run the code you simple add the execution prefix:

./myExecutable

This will cause the file to run with output in the current terminal session. Note that if you terminate the terminal/ssh session, the code execution will halt. If you want to execute a large piece of code on lets say a remote computer (or a cluster for scientific computing) then you do the following step instead of 4

4*) To run the executable in backround and log terminal output (if you don't want to keep the terminal window open) you use the following command:

nohup ./myExecutable > terminalOuput.txt &

This will cause the executable to run in the background, it will the tell terminal not to hang up (nohup) if you close the window, and it will append the terminal output to the file terminalOutput.txt

What are new proxies?

New proxies are fresh proxy servers that were recently checked and they are working. Basically that's it. Just a pair of IP address and port corresponding to a proxy server that is responding requests right now.

The problem with fresh proxies is that it changes a lot, new ones appear and a lot of others stop working.

There are websites that show fresh new proxies every day, there you can find exactly what we're talking about. For example at the related links there is one.

Where is the service port for a 2001 Chevrolet Impala 3.4L?

The service port is on the low pressure line or accumulator. DO NOT under any circumstances use a refrigerant with a stop leak as it will void any warranty and make a mess of the system. To service the unit you MUST know how much is in it and weigh EXACTLY the amount going in. It is best and cheaper to consult a certified repair shop to do the repairs. That is best left to a professional as it requires EXACT measurements of refrigerant. There can be NO guesswork.

Is physical address the home address?

Yes, a physical address would the the same as a person's address of their home. An example of a non-physical address would be a PO Box address.

Describe how ARP improves efficiency of MAC to IP address mappings?

ARP allows to get those mappings in the first place.

ARP allows to get those mappings in the first place.

ARP allows to get those mappings in the first place.

ARP allows to get those mappings in the first place.

IP address for the worlds hardest game?

I can't really find an IP address, but I figure it's close enough. http://en.wikipedia.org/wiki/The_Game_(mind_game)

What proxy does not have proxy in the name?

I like to use the broken locker.com it works you just have to search broken locker it does have ads tho

When four different computers are connected to one printer using a wireless connection can the print function be accessed from all the computers?

i guess all the computers should be able, as long the printer is able to store the prints until all is printed out, else you could print out connecting up to one of the computers who got the printer "share the printer" just one way to get it done, :P

What is s device that connects one network to another?

The device that connects one network to another is Router or Multilayer Switches but by default multilayer switches will not enable the services connecting two different network we should provide instruction through CLI.