pmap Questions

1

Solved

What is the correct method for using multiple CPU cores with jax.pmap? The following example creates an environment variable for SPMD on CPU core backends, tests that JAX recognises the devices, an...
Lottielotto asked 21/5, 2022 at 10:0

1

Solved

I am coding on a single-device laptop and I am using jax.pmap because my code will run on multiple TPUs. I would like to "fake" having multiple devices to test my code and try different t...
Venezuela asked 16/11, 2022 at 19:48

2

when I read the Julia document of multi-core parallel computing, I noticed there are both parallel map pmap and for-loop @distributed for. From the documentation, "Julia's pmap is designed for the...
Spasmodic asked 15/4, 2019 at 22:12

1

Solved

I am wondering how to use pmap() function if I have more than 3 inputs as parameters to map into a function with other default inputs. Here is a reproducible example: a=c(5, 100, 900) b=c(1, 2, ...
Quintie asked 20/12, 2018 at 18:38

1

I run the following simple program #include <stdio.h> #include <stdlib.h> int main() { malloc(1024*1024*32); getchar(); return 0; } htop gives this VIRT RES SHR 36684 312 240 ...
Boccie asked 17/3, 2011 at 9:27

1

Solved

I'm trying to better understand how pmap() works within dataframes, and I get a surprising result when applying pmap() to compute means from several columns. mtcars %>% mutate(comp_var = pma...
Smilacaceous asked 8/5, 2018 at 18:58

1

Solved

I am trying to collate results from a simulation study using dplyr and purrr. My results are saved as a list of data frames with the results from several different classification algorithms, and I'...
Swarth asked 28/1, 2018 at 21:38

1

Solved

JDK version is hotspot 8u_45 I researched native memory of my java process. The native memory even consumes more space than heap. However there are many native memory blocks which confuses me. The...
Settling asked 31/5, 2017 at 12:32

3

I have a java application running on Java 8 inside a docker container. The process starts a Jetty 9 server and a web application is being deployed. The following JVM options are passed: -Xms768m -X...
Thanatopsis asked 25/9, 2016 at 7:33

1

Solved

I have been working in Julia for a few months now and I am interested in writing some of my code in parallel. I am working on a problem where I use 1 model to generate data for several different re...
Doerr asked 20/8, 2016 at 21:31

1

I have a docker container running a base image of alpine linux and when I exec into the docker container and run the command: pmap -x [pid] The headers that I see in the output are: Address K...
Iden asked 27/7, 2016 at 22:12

1

Solved

I am trying to port some of my R code to Julia; Basically I have rewritten the following R code in Julia: library(parallel) eps_1<-rnorm(1000000) eps_2<-rnorm(1000000) large_matrix<-ife...
Management asked 5/7, 2016 at 15:28

1

Solved

I am building a microsimulation model in Julia. I have built the structure of my function and it runs great for for 1 "person". I'd like to write the script to run 100000+ people through the model ...
Shillong asked 21/7, 2016 at 22:53

1

Solved

I'm testing out parallelism in Julia to see if there's a speedup on my machine (I'm picking a language to implement new algorithms with). I didn't want to dedicate a ton of time writing a huge exam...
Compartmentalize asked 14/5, 2016 at 2:23

2

Solved

I was trying to see memory map of a process on Linux x86-64 using pmap -x command. I got confused looking at the output of the pmap. Particularly for the entries for mapping dynamic libraries. Ther...
Spondaic asked 22/3, 2012 at 19:2

1

Solved

Why doesn't this do what I think it should: benjamin@benjamin-VirtualBox:~$ julia -p 3 julia> @everywhere(function foom(bar::Vector{Any}, k::Integer) println(repeat(bar[2],bar[1])); return bar;...
Jambeau asked 8/7, 2014 at 16:31

4

Solved

The documentation on the pmap function leaves me wondering how efficient it would be for something like fetching a collection of XML feeds over the web. I have no idea how many concurrent fetch ope...
Gallaway asked 16/2, 2011 at 20:33

3

I tested the clojure function map and pmap as show below, in cojure REPL. It make me confused: why the parallel pmap is slower than map? user=> (def lg (range 1 10000000)) user=> (time (def r...
Jibber asked 13/11, 2013 at 11:50

3

Solved

What is difference between 'Shared Object Memory' and 'Heap Memory' in Java. Is it like 'Shared Object Memory' is superset of 'Heap Memory'? The source of this question is documentation of jmap. I...
Lhary asked 28/7, 2011 at 6:55

4

Solved

I'm trying to locate where my memory has gone for a java process running in linux. Someone suggested I use pmap -x to see exactly what the memory is doing. The output is really long but basically...
Daliladalis asked 25/9, 2009 at 15:10
1

© 2022 - 2024 — McMap. All rights reserved.