<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.prislab.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.prislab.org/feed.php">
        <title>PRIS-Lab Wiki rise:ejemplos</title>
        <description></description>
        <link>https://wiki.prislab.org/</link>
        <image rdf:resource="https://wiki.prislab.org/lib/exe/fetch.php?media=favicon.ico" />
       <dc:date>2026-09-06T19:34:09+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.prislab.org/doku.php?id=rise:ejemplos:jupyter&amp;rev=1593565412&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.prislab.org/doku.php?id=rise:ejemplos:mpi_hello&amp;rev=1593566452&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.prislab.org/lib/exe/fetch.php?media=favicon.ico">
        <title>PRIS-Lab Wiki</title>
        <link>https://wiki.prislab.org/</link>
        <url>https://wiki.prislab.org/lib/exe/fetch.php?media=favicon.ico</url>
    </image>
    <item rdf:about="https://wiki.prislab.org/doku.php?id=rise:ejemplos:jupyter&amp;rev=1593565412&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-07-01T01:03:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>rise:ejemplos:jupyter</title>
        <link>https://wiki.prislab.org/doku.php?id=rise:ejemplos:jupyter&amp;rev=1593565412&amp;do=diff</link>
        <description>SLURM &amp; Jupyter

Preliniminares

Para lanzar Jupyter es necesario crear un archivo con el siguiente script de SLURM:


#!/bin/bash
#SBATCH --job-name=jupyter-notebook
#SBATCH --nodes=1
#SBATCH --time=4:00
#SBATCH --partition=tara-2N-4H
#SBATCH --output=notebook.txt
#SBATCH --gres=gpu:kepler:2

module add python3/3.8.3 toolkits/python3-base/3.8.3
module add toolkits/tensorflow/2.2.0
module add image-processing/opencv/4.3.0
module add cuda/10.1.243

hostname

jupyter notebook --ip 0.0.0.0 --port 8…</description>
    </item>
    <item rdf:about="https://wiki.prislab.org/doku.php?id=rise:ejemplos:mpi_hello&amp;rev=1593566452&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-07-01T01:20:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>rise:ejemplos:mpi_hello</title>
        <link>https://wiki.prislab.org/doku.php?id=rise:ejemplos:mpi_hello&amp;rev=1593566452&amp;do=diff</link>
        <description>Hello World, MPI &amp; SLURM

Esta guía provee un hello world para MPI y como correrlo usando SLURM.

MPI

	*  Código fuente de hello world: 


#include &lt;stdio.h&gt;
#include &lt;omp.h&gt;
#include &quot;mpi.h&quot;

int main(int argc, char *argv[]) {

    MPI_Init(&amp;argc, &amp;argv);

    int rank;
    MPI_Comm_rank(MPI_COMM_WORLD, &amp;rank);

    char processor_name[MPI_MAX_PROCESSOR_NAME];
    int name_len;
    MPI_Get_processor_name(processor_name, &amp;name_len);

    #pragma omp parallel
    {
        int thread_num = omp_g…</description>
    </item>
</rdf:RDF>
