Monthly Archives: September 2018

Parallelising Mandelbrot

We have a sequential program of Mandelbrot that take a while when executing, and we can made it in parallel using private and shared variable to check the performance on each one This is the sequential program C code:and this … Continue reading

Posted in τεχνολογια :: Technology | Leave a comment

Starting with OpenMP

We are going to work in DICE and the conventional hello world in C and Fortran: Hello World (OpenMP with fortran): The hello world in Fortran 90 as follow: By default it will take the number of threads as 16: … Continue reading

Posted in Education, τεχνολογια :: Technology | Tagged , , , , | Leave a comment

Learning Fortran

1.- Printing the Hello world The hello world itself has not much explanation:Then we need to compile it and run it: gfortran hello.f90 -o hello ./hello Hello World! 2.- Converting degrees to radians  In this case we are going to … Continue reading

Posted in Education, τεχνολογια :: Technology | Tagged , , | Leave a comment

Running MPI on DICE

Hello World We are going to use C to write the hello world programNow we can compile with mpicc mpicc -o hello hello.c Now we are ready to run in 4 processors: mpirun -np 4 hello Printing ranks and the … Continue reading

Posted in Education, τεχνολογια :: Technology | Tagged , , , , | Leave a comment

Running a job in a HPC cluster called Cirrus

Prerequisites *  It is necessary to have the following files in the same location: 1.- A program (in this case I am going to use the hello world in C)2.- A PBS script called “hello world” where it is going … Continue reading

Posted in τεχνολογια :: Technology | Leave a comment