Community Profile

photo

Konrad Malkowski


MathWorks

73 total contributions since 2011

I am a C++ Software Engineer on the IAT Foundation Libraries team. My interests include Parallel Computing, Computer Architecture, Operating Systems and C++.

Contact

Konrad Malkowski's Badges

Contributions in
View by

Answered
Alternatives to break command inside a spmd command
What you will need to implement is a parallel termination detection algorithm. See the following link for references: <htt...

3 years ago | 0

Answered
How to compile shrlibsample in R2012a
You can compile the code in two ways: - using gcc - using mex (which uses gcc internally) Here's how I compiled the code us...

3 years ago | 0

Answered
need simple example using pmode
Here's an example how to use distributed arrays and how to use SPMD: matlabpool open 2 x = 1:1:100; y = 100...

3 years ago | 1

Answered
R2013a + Intel Composer XE 2013 + MSVC 2012 or MSVC 2010. Have you tried them yet?
Hi James, Please take a look at the following page: <http://www.mathworks.com/support/compilers/R2013a/index.html> It a...

3 years ago | 0

Answered
Concatenating large matrices - out of memory
Have you tried explicitly storing the matrix as sparse? See <http://www.mathworks.com/help/matlab/ref/sparse.html>

3 years ago | 0

Answered
How to concatenate cells?
Does this do what you are looking for? A = repmat([1,2,3,4], 1000, 1); B = repmat([5,6], 1000, 1); C = {A}; D = {B...

3 years ago | 0

Answered
Problem running matlab script to background
What type of image are you trying to save? Saving to jpg, png, tiff or eps/ps is usually safer than other file formats when n...

3 years ago | 0

| accepted

Answered
What is the default installation path for Matlab on architecture X?
One possible approach on linux/mac would be: > find / -name matlab This would recursively search the file system for "ma...

3 years ago | 2

Answered
How can I increase Memory
A few questions: # What operating system are you using? # Do you close the previously open files? The reason for these qu...

4 years ago | 0

Answered
Nested for loop to parfor
Are the matrices preallocated, or are they allocated dynamically at run time by the inner for loops? If matrices are not preallo...

4 years ago | 0

Answered
parfor - Attempt to serialize data which is too large
There is a 2GB transmission limit between client and workers. Could you provide me with additional values for Np, N1, Nt, etc so...

4 years ago | 2

Answered
Application is missing mclmcrrt711.dll.
Hi Owen. Did you create the application, or did you get the executable from someone else? The person who compiled the applic...

4 years ago | 0

Answered
Memory spike when using previously declared variable in spmd block
You can build the random vector directly on the workers: spmd c = codistributed.rand(1+2^27, 1); end As for the ...

4 years ago | 2

Answered
Way to know status of parfor loop without printing to command window or saving to file?
Why not send the output to the file and diagnostic to the command window? Alternatively there you can take a look at the follow...

4 years ago | 1

Answered
Can MATLAB tell me which gpu device is the one connected to the display?
1. Yes there will be limitations on what can run on GPU that is used for rendering. In particular the CUDA kernels cannot run fo...

4 years ago | 0

Answered
Slow indexing into local parts of distributed cell arrays in parallel computing toolbox
Hi Anders, The best way of achieving high performance in your example is to operate directly on the LocalParts of the codistr...

4 years ago | 3

| accepted

Answered
Whats the best command to write to file inside parfor loop?
Are you planning on writing data from multiple workers to a single file within PARFOR? If so, then there are no commands that w...

4 years ago | 1

Answered
How to have more than 12 workers
Are the processors in the server hyper-threaded? Irrespective of what admin-center reports you can always start more workers ...

4 years ago | 2

Answered
Can we use parfor inside a for loop?
If you have multiple nested for loop, then for best performance you really want the parfor to be the outermost loop in your prog...

4 years ago | 0

Answered
r2011b remote file mirroring issues (non-shared file system with generic scheduler interface)
No problem :-) That is my background as well :-) Regarding your question. To force these diagnostic messages to print in your...

4 years ago | 0

Answered
r2011b remote file mirroring issues (non-shared file system with generic scheduler interface)
Hi Nick, Take a look at the getJobStateFcn.m for your scheduler. Try commenting the code inside of the if ... else block. ...

4 years ago | 1

Answered
r2011b remote file mirroring issues (non-shared file system with generic scheduler interface)
Hi Nick, Does the issue occur when you leave your MATLAB on, while the jobs are running on the cluster? How many jobs do y...

4 years ago | 0

Solved


Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

5 years ago

Solved


Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

5 years ago

Solved


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

5 years ago

Solved


Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

5 years ago

Solved


Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

5 years ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

5 years ago

Solved


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

5 years ago

Solved


Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

5 years ago

Load more