Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29282 Discussions

Programming on remote server, help please !!!!

coolweather
Beginner
747 Views
Hello,
My code source (Fortran and C projects) and Intel compiliers are on a remote server under Linux OS.
I have to develop these projects from my local PC that is under Windows OS and VirtualBox Linux Ubuntu.
I would like to know if it is the possiblity to edit, compile and debug remote projects from my local PC ?
In fact, I want to use some applications on my local PC than controls code sources edition, compilation and debugging on a remote server.
Thank you for help!
0 Kudos
4 Replies
Ron_Green
Moderator
747 Views
you can check your Intel compiler licenses to see if they are either floating network licenses or single user licenses (https://registrationcenter.intel.com)

I am not familiar with VirtualBox Ubu - from what I read it seems the VM you create for Ubu has a permanent disk area for the VM, so things you create persist over reboots.

So you can consider installing the Intel Linux compilers on your Ubu VM. Note that if your license is a linux license, it will ONLY work for the Intel Linux compilers. Thus, you cannot use the Windows compilers. You cannot compile code on the Ubu linux VM and run them under the PC - won't work. You can only build and run under linux.

Also, Intel does not officially support our software tools running under VMs like this, but if you can get past the installation, it should work.

buiild up your Ubu VM to support the compiler: http://software.intel.com/en-us/articles/using-intel-compilers-for-linux-with-ubuntu/

make sure you license is a single user license, copy from the linux server /opt/intel/licenses/ folder, make the same folder on the Ubu VM.

go to https://registrationcenter.intel.com and download the newest compiler to your Ubu VM. Make sure your compiler is compatible with the version of Ubu you are using - I have zero tolerance for people trying to run 9.1 version compilers on Ubu 11.04. Get a new compiler if you have the latest Ubuntu.

Now to keep files in sync between the two, the easiest method is to set up your remote linux system to NFS export a filesystem to mount on you Ubu VM. That way they share the same files. If your PC is offline, you're out of luck and you'll have to investigate another method like SVN to keep the files versioned.

If you want version control, lookup SVN and implement a SVN server on the remote system and a SVN client on your Ubu VM.

ron

0 Kudos
Izaak_Beekman
New Contributor II
747 Views
Also, on your ubuntu VM you could consider using Emacs. You can edit remote files as if they are local via TRAMP. Just do

find-file /user@server.domain:/path/to/file.f90

'find-file' is bound to 'C-x C-f' where C stands for ctrl

If you then open up a shell via 'M-x shell' it should also be on the remote machine (where 'M' is alt) . Swap buffers with 'C-x b' split the frame using C-x 2 or C-x 3

Also, you could try installing win Emacs, and using tramp as described above. You also have access to a *nix-like shell via M-x eshell EVEN ON WINDOWS, and if invoked from the buffer on the remote machine this should pull up a terminal on the remote machine, BUT it can be quite slow. M-x shell brings up a native shell (bash, csh) that is usually much faster when using TRAMP/working on a remote machine.

Good luck

0 Kudos
coolweather
Beginner
747 Views
Thank you for your explanations !

I've installed Intel Parallel Studio v12 on my VM Ubuntu
could you explain more in detail what is a NFS export, please ?
I worked many years with Visual Studio under Windows, is there something similar to work with Intel parallel suite under Linux ?
If it is Eclipse PTP, could you explain please how to configure it to work with Intel Compiliers and Tools ?
Thank you in advance!
0 Kudos
Ron_Green
Moderator
747 Views
NFS is a network file system, a way to share files across a network. A simple google search will lead you to many tutorials and how-to guides.

ron
0 Kudos
Reply