wiki:herramientas
Diferencias
Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previaAmbos lados, revisión siguiente | ||
| wiki:herramientas [2022/08/17 12:48] srgualpa | wiki:herramientas [2022/10/12 15:22] (actual) srgualpa [Herramientas] | ||
|---|---|---|---|
| Línea 153: | Línea 153: | ||
| - | /* FIN Estilo para el texto paracido consola*/ | + | / |
| - | + | ||
| - | + | ||
| - | .tips{ | + | |
| - | color:# | + | |
| - | background-color:# | + | |
| - | padding: | + | |
| - | border: 2px solid #ffff33; | + | |
| - | border-radius: | + | |
| - | margin-top: | + | |
| - | margin-bottom: | + | |
| - | } | + | |
| - | + | ||
| - | /* ----------------------------- | + | |
| - | .textoVisible { | + | |
| - | position: relative; | + | |
| - | display: inline-block; | + | |
| - | border-bottom: | + | |
| - | } | + | |
| - | + | ||
| - | .textoVisible .textoOculto { | + | |
| - | visibility: hidden; | + | |
| - | width: 550px; | + | |
| - | background-color: | + | |
| - | color: #fff; | + | |
| - | text-align: center; | + | |
| - | border-radius: | + | |
| - | padding: 5px 0; | + | |
| - | position: absolute; | + | |
| - | z-index: 1; | + | |
| - | top: 150%; | + | |
| - | left: 30%; | + | |
| - | margin-left: | + | |
| - | } | + | |
| - | + | ||
| - | .textoVisible .textoOculto:: | + | |
| - | content: ""; | + | |
| - | position: absolute; | + | |
| - | bottom: 100%; | + | |
| - | left: 40%; | + | |
| - | margin-left: | + | |
| - | border-width: | + | |
| - | border-style: | + | |
| - | border-color: | + | |
| - | } | + | |
| - | + | ||
| - | .textoVisible .textoOculto2 { | + | |
| - | visibility: hidden; | + | |
| - | width: 550px; | + | |
| - | background-color: | + | |
| - | color: #fff; | + | |
| - | text-align: center; | + | |
| - | border-radius: | + | |
| - | padding: 5px 0; | + | |
| - | position: absolute; | + | |
| - | z-index: 1; | + | |
| - | top: 150%; | + | |
| - | left: -70%; | + | |
| - | margin-left: | + | |
| - | } | + | |
| - | + | ||
| - | .textoVisible .textoOculto2:: | + | |
| - | content: ""; | + | |
| - | position: absolute; | + | |
| - | bottom: 100%; | + | |
| - | left: 40%; | + | |
| - | margin-left: | + | |
| - | border-width: | + | |
| - | border-style: | + | |
| - | border-color: | + | |
| - | } | + | |
| - | .textoVisible: | + | |
| - | visibility: visible; | + | |
| - | } | + | |
| - | + | ||
| - | .subrayadoVerde{ | + | |
| - | text-decoration-color: | + | |
| - | } | + | |
| - | .subrayadoAzul{ | + | |
| - | text-decoration-color: | + | |
| - | } | + | |
| - | + | ||
| - | + | ||
| - | .textoVisible: | + | |
| - | visibility: visible; | + | |
| - | } | + | |
| - | .tipsAmarillo{ | + | |
| - | color:# | + | |
| - | background-color:# | + | |
| - | padding: | + | |
| - | border: 2px solid #ffff33; | + | |
| - | border-radius: | + | |
| - | margin-top: | + | |
| - | margin-bottom: | + | |
| - | } | + | |
| - | .tipsVerde{ | + | |
| - | color: | + | |
| - | background-color:# | + | |
| - | padding: | + | |
| - | border: 2px solid green; | + | |
| - | border-radius: | + | |
| - | margin-top: | + | |
| - | margin-bottom: | + | |
| - | } | + | |
| - | + | ||
| - | .tipsAzul{ | + | |
| - | color: | + | |
| - | background-color:# | + | |
| - | padding: | + | |
| - | border: 2px solid #607d8b; | + | |
| - | border-radius: | + | |
| - | margin-top: | + | |
| - | margin-bottom: | + | |
| - | } | + | |
| - | + | ||
| - | .tipsRojo{ | + | |
| - | color: | + | |
| - | background-color:# | + | |
| - | padding: | + | |
| - | border: 2px solid red; | + | |
| - | border-radius: | + | |
| - | margin-top: | + | |
| - | margin-bottom: | + | |
| - | } | + | |
| / | / | ||
| Línea 282: | Línea 159: | ||
| color: | color: | ||
| } | } | ||
| - | |||
| - | |||
| </ | </ | ||
| + | ======Herramientas====== | ||
| - | ======INSTALACIÓN DE FLASH====== | + | **Herramientas usadas por el Grupo de Plasmas Astrofísicos** |
| - | =====EN COMPUTADORA PERSONAL===== | + | __Plasma solar__ (Dra. Mariana Cécere, Dr. Ernesto Zurbriggen, Lic. Abril Sahade) |
| - | 1. Registrarse | + | \\ |
| + | =====EUV===== | ||
| + | Emulación de emisión EUV: | ||
| + | [[https:// | ||
| + | Dada la temperatura, | ||
| + | Instalador: [[https://github.com/ | ||
| + | Licencia: [[https:// | ||
| - | 2. Luego, se enviará por mail la aceptación | + | =====VisIt===== |
| + | VisIt: | ||
| - | 3. Descomprimir el tar.gz bajado en el lugar donde se va a querer trabajar. | + | Instalador: \\ |
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | Licencia: | ||
| - | 4. Instalar fortran, c, mpif90. Para éste último, instalar mpich. | + | =====FLASH===== |
| - | 5. Flash necesita | + | FLASH: |
| - | < | + | |
| - | <ul class=" | + | |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | </ul> | + | |
| - | < | + | |
| - | </HTML> | + | |
| + | Instalador: | ||
| + | Licencia: | ||
| + | =====Emulación de emisión girosincrotrón===== | ||
| - | =====EN LOS CLUSTERS===== | + | Emulación de emisión girosincrotrón: |
| - | 1. Ya está instalado. Sólo levantar los módulos | + | |
| - | ---------------------------------- | + | El código está pensado para ser usado en IDL, pero el grupo desarrolló la misma herramienta para Python. |
| - | ======USO DE FLASH====== | + | Instalador: |
| + | Licencia: | ||
| - | Manual de usuario: [[http:// | ||
| - | |||
| - | 1. El Makefile.h que usa para compilar el programa está en: | ||
| - | / | ||
| - | Allí hay varios ejemplos de makefiles. Para nuestro ejemplo utilizaremos un makefile que llamaremos Makefile.h.escogido. Iremos a la carpeta " | ||
| - | |||
| - | < | ||
| - | <ul class=" | ||
| - | < | ||
| - | </ul> | ||
| - | <br> | ||
| - | </ | ||
| - | Ejecutar el siguiente comando. | ||
| - | < | ||
| - | <ul class=" | ||
| - | < | ||
| - | </ul> | ||
| - | <br> | ||
| - | </ | ||
| - | Eso creará una carpeta que se llama como el nombre de la maquina en /sites. Copiar en esa carpeta | ||
| - | < | ||
| - | <ul class=" | ||
| - | < | ||
| - | <li style=" | ||
| - | </ul> | ||
| - | <br> | ||
| - | </ | ||
| - | |||
| - | |||
| - | |||
| - | 2. Módulos a cargar en las diferentes máquinas: | ||
| - | |||
| - | < | ||
| - | |||
| - | <br> | ||
| - | < | ||
| - | <br> | ||
| - | <br> | ||
| - | <ul class=" | ||
| - | < | ||
| - | <li style=" | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | </ul> | ||
| - | |||
| - | <button class=" | ||
| - | <div class=" | ||
| - | < | ||
| - | < | ||
| - | <li class=" | ||
| - | <li class=" | ||
| - | </ | ||
| - | < | ||
| - | </ | ||
| - | <file c Makefile.h[enable_line_numbers=" | ||
| - | #FLASH makefile definitions for x86-64 Linux (GNU compilers) | ||
| - | # | ||
| - | # Set the HDF5/MPI library paths -- these need to be updated for your system | ||
| - | # | ||
| - | # sites/ | ||
| - | |||
| - | |||
| - | MPI_PATH | ||
| - | HDF4_PATH | ||
| - | HDF5_PATH | ||
| - | HYPRE_PATH = / | ||
| - | ZLIB_PATH | ||
| - | |||
| - | |||
| - | |||
| - | PAPI_PATH | ||
| - | PAPI_FLAGS = | ||
| - | |||
| - | NCMPI_PATH = / | ||
| - | MPE_PATH | ||
| - | |||
| - | # | ||
| - | # Compiler and linker commands | ||
| - | # | ||
| - | # Use the MPICH wrappers around the compilers -- these will automatically | ||
| - | # load the proper libraries and include files. | ||
| - | # to 1.2.2 (?) do not recognize .F90 as a valid Fortran file extension. | ||
| - | # You need to edit mpif90 and add .F90 to the test of filename extensions, | ||
| - | # or upgrade your MPICH. | ||
| - | # | ||
| - | |||
| - | FCOMP = ${MPI_PATH}/ | ||
| - | CCOMP = ${MPI_PATH}/ | ||
| - | CPPCOMP = ${MPI_PATH}/ | ||
| - | LINK = ${MPI_PATH}/ | ||
| - | |||
| - | # pre-processor flag | ||
| - | PP = -D | ||
| - | |||
| - | # | ||
| - | # Compilation flags | ||
| - | # | ||
| - | # Three sets of compilation/ | ||
| - | # code, one for testing, and one for debugging. | ||
| - | # _OPT version. | ||
| - | # these should enable bounds checking. | ||
| - | # flash_test, and is set for quick code generation, and (sometimes) | ||
| - | # profiling. | ||
| - | # (ex. FFLAGS) to the proper set of flags (ex. FFLAGS_OPT). | ||
| - | # | ||
| - | |||
| - | OPENMP = | ||
| - | #-fopenmp | ||
| - | |||
| - | |||
| - | # *************************cambio ******************************** | ||
| - | # PATRON | ||
| - | #FFLAGS_OPT = -c -O2 -fdefault-real-8 -fdefault-double-8 \ | ||
| - | # | ||
| - | |||
| - | # OPTIMIZADO | ||
| - | FFLAGS_OPT = -c -O3 -march=broadwell -fdefault-real-8 -fdefault-double-8 \ | ||
| - | -Wuninitialized | ||
| - | |||
| - | #I explictly add -O0 because I found that compiling source files without | ||
| - | #an optimization flag generates the same object code as compiling source | ||
| - | #files with -O2. The -O0 is required so that gdb no longer shows | ||
| - | #"< | ||
| - | |||
| - | FFLAGS_DEBUG = -ggdb -c -O0 -fdefault-real-8 -fdefault-double-8 \ | ||
| - | -pedantic -Wall -Waliasing \ | ||
| - | -Wsurprising -Wconversion -Wunderflow \ | ||
| - | -ffpe-trap=invalid, | ||
| - | -fimplicit-none -fstack-protector-all | ||
| - | |||
| - | FFLAGS_TEST = -ggdb -c -O0 -fdefault-real-8 -fdefault-double-8 | ||
| - | |||
| - | FFLAGS_HYPRE = -I${HYPRE_PATH}/ | ||
| - | |||
| - | |||
| - | F90FLAGS = -w -fallow-argument-mismatch | ||
| - | |||
| - | |||
| - | #The macro _FORTIFY_SOURCE adds some lightweight checks for buffer | ||
| - | #overflows at both compile time and run time (only active at -O1 or higher) | ||
| - | # | ||
| - | |||
| - | |||
| - | # | ||
| - | # FLAGS PATRON | ||
| - | #CFLAGS_OPT = -ggdb -c -O2 -Wuninitialized -D_FORTIFY_SOURCE=2 | ||
| - | |||
| - | # FLAGS OPTIMIZADO | ||
| - | CFLAGS_OPT = -c -O3 -march=broadwell -Wuninitialized -D_FORTIFY_SOURCE=2 | ||
| - | |||
| - | CFLAGS_DEBUG = -ggdb -c -O0 -Wno-div-by-zero -Wundef \ | ||
| - | -Wconversion -Wstrict-prototypes -Wunreachable-code \ | ||
| - | -pedantic -Wall -Winit-self -ftree-vrp -Wfloat-equal \ | ||
| - | -Wunsafe-loop-optimizations -Wpadded -fstack-protector-all | ||
| - | |||
| - | CFLAGS_TEST = -ggdb -O0 -c | ||
| - | |||
| - | |||
| - | # if we are using HDF5, we need to specify the path to the include files | ||
| - | CFLAGS_HDF5 = -I${HDF5_PATH}/ | ||
| - | CFLAGS_NCMPI = -I${NCMPI_PATH}/ | ||
| - | |||
| - | # | ||
| - | # Linker flags | ||
| - | # | ||
| - | # There is a seperate version of the linker flags for each of the _OPT, | ||
| - | # _DEBUG, and _TEST cases. | ||
| - | # | ||
| - | |||
| - | LFLAGS_OPT | ||
| - | LFLAGS_DEBUG = -ggdb -O0 -o | ||
| - | LFLAGS_TEST | ||
| - | |||
| - | |||
| - | # | ||
| - | # Library specific linking | ||
| - | # | ||
| - | # If a FLASH module has a ' | ||
| - | # create a macro in this Makefile.h for LIB_xxx, which will be added to the | ||
| - | # link line when FLASH is built. | ||
| - | # (incompatible) libraries. | ||
| - | # library macro to add any performance-minded libraries (like fast math), | ||
| - | # depending on how FLASH was setup. | ||
| - | # | ||
| - | |||
| - | LIB_OPT | ||
| - | LIB_DEBUG = | ||
| - | LIB_TEST | ||
| - | |||
| - | LIB_HDF4 | ||
| - | LIB_HDF5 | ||
| - | |||
| - | LIB_PAPI | ||
| - | LIB_MATH | ||
| - | |||
| - | LIB_MPI | ||
| - | LIB_NCMPI = -L ${NCMPI_PATH}/ | ||
| - | LIB_MPE | ||
| - | |||
| - | LIB_HYPRE = -L${HYPRE_PATH}/ | ||
| - | |||
| - | # Uncomment the following line to use electic fence memory debugger. | ||
| - | # export EF_ALLOW_MALLOC_0=1 | ||
| - | #CONFIG_LIB = -L/ | ||
| - | |||
| - | # | ||
| - | # Additional machine-dependent object files | ||
| - | # | ||
| - | # Add any machine specific files here -- they will be compiled and linked | ||
| - | # when FLASH is built. | ||
| - | # | ||
| - | |||
| - | MACHOBJ = | ||
| - | |||
| - | # | ||
| - | # Additional commands | ||
| - | # | ||
| - | |||
| - | MV = mv -f | ||
| - | AR = ar -r | ||
| - | RM = rm -f | ||
| - | CD = cd | ||
| - | RL = ranlib | ||
| - | ECHO = echo | ||
| - | |||
| - | |||
| - | # | ||
| - | # Fake existence of iso_c_bindings module to prevent unnecessary recompilations. | ||
| - | # | ||
| - | ifeq ($(FLASHBINARY), | ||
| - | iso_c_binding.mod : | ||
| - | touch $@ | ||
| - | endif | ||
| - | </ | ||
| - | < | ||
| - | </ | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | <br> | ||
| - | |||
| - | <br> | ||
| - | < | ||
| - | <br> | ||
| - | <br> | ||
| - | <ul class=" | ||
| - | < | ||
| - | < | ||
| - | </ul> | ||
| - | <br> | ||
| - | < | ||
| - | <br> | ||
| - | <br> | ||
| - | <ul class=" | ||
| - | < | ||
| - | </ul> | ||
| - | <br> | ||
| - | </ | ||
| - | |||
| - | 3. Cómo compilar el programa: | ||
| - | En / | ||
| - | |||
| - | |||
| - | * **parfile**: | ||
| - | * **+usm**: se activa el Unsplit Staggered Method. Este metodo evalua los campos en las caras, para hacer una correcta limpieza de los monopolos magnéticos. | ||
| - | * **threadBlockList**: | ||
| - | * **-objdir**: | ||
| - | * **-site**: nombre de la máquina donde se correrá. Si no se pone nada, por default es la máquina donde estamos | ||
| - | * **-2d**: corrida bidimensional | ||
| - | * **maxblocks**: | ||
| - | * **nxb, nyb**: número de celdas por bloque. | ||
| - | |||
| - | |||
| - | Luego compilar haciendo: | ||
| - | |||
| - | < | ||
| - | <ul class=" | ||
| - | < | ||
| - | < | ||
| - | </ul> | ||
| - | <br> | ||
| - | <br> | ||
| - | </ | ||
| - | |||
| - | |||
| - | 4. Cómo correr el programa | ||
| - | |||
| - | a) Máquinas con trabajos en cola → clemente, mulatona (uso exclusivo del IATE) y mendieta (cluster UNC) | ||
| - | Para correr el programa, usar los diferentes [[script> | ||
| - | | ||
| - | |||
| - | < | ||
| - | < | ||
| - | Tips: antes de correr verificar los cores y nodos disponibles: | ||
| - | </ | ||
| - | [[Tutorial> | ||
| - | |||
| - | |||
| - | b) Para correr en las máquinas sin trabajos en cola: | ||
| - | |||
| - | < | ||
| - | <ul class=" | ||
| - | < | ||
| - | < | ||
| - | |||
| - | </ul> | ||
| - | <br> | ||
| - | </ | ||
| <JS> | <JS> | ||
| - | |||
| - | | ||
| var acc = document.getElementsByClassName(" | var acc = document.getElementsByClassName(" | ||
| var i; | var i; | ||
| Línea 654: | Línea 219: | ||
| </JS> | </JS> | ||
| + | < | ||
| + | < | ||
| + | <button class=" | ||
| + | <div class=" | ||
| + | < | ||
| + | < | ||
| + | <li class=" | ||
| + | <li class=" | ||
| + | </ | ||
| + | < | ||
| + | </ | ||
| + | <file txt Makefile.h[enable_line_numbers=" | ||
| + | |||
| + | </ | ||
| + | < | ||
| + | </ | ||
| + | --> | ||
| + | </ | ||
wiki/herramientas.1660740538.txt.gz · Última modificación: 2022/08/17 12:48 por srgualpa