Answered

Silent install MATLAB on AWS

Hi, We've recently posted a reference architecture on GitHub for MATLAB on AWS. https://github.com/mathworks-ref-arch/m...

Silent install MATLAB on AWS

Hi, We've recently posted a reference architecture on GitHub for MATLAB on AWS. https://github.com/mathworks-ref-arch/m...

1 year ago | 0

Submitted

ClusterInfo

Used for passing parameters to third party schedulers

3 years ago | 1 download |

Answered

Continious message "starting parallel pool (parpool) using the local profile"?

It might be because both pools are accessing the same JobStorageLocation. If you're going to run two instances of MATLAB and a ...

Continious message "starting parallel pool (parpool) using the local profile"?

It might be because both pools are accessing the same JobStorageLocation. If you're going to run two instances of MATLAB and a ...

4 years ago | 0

Answered

Is it possible to run job from client on server with different version?

Hi, The versions have to match. In your case, imagine if you're using a feature in R2014b that's not supported in R2014a -- ...

Is it possible to run job from client on server with different version?

Hi, The versions have to match. In your case, imagine if you're using a feature in R2014b that's not supported in R2014a -- ...

4 years ago | 0

| accepted

Answered

How to make sure matlab uses all the cores on a remote cluster ?

Try running the following code. Set N to the number of cores you want to run on. This should take ~4 seconds to run. N = ...

How to make sure matlab uses all the cores on a remote cluster ?

Try running the following code. Set N to the number of cores you want to run on. This should take ~4 seconds to run. N = ...

5 years ago | 0

| accepted

Answered

parfor on a supercomputer

I would suggest contacting MathWorks Technical Support (support@mathworks.com)

parfor on a supercomputer

I would suggest contacting MathWorks Technical Support (support@mathworks.com)

5 years ago | 0

Answered

How to reset the 'default' RemoteClusterAccess object?

I thought that was where this might be going :) There should be a function, ClusterInfo. Call >> ClusterInfo.state Dis...

How to reset the 'default' RemoteClusterAccess object?

I thought that was where this might be going :) There should be a function, ClusterInfo. Call >> ClusterInfo.state Dis...

5 years ago | 0

| accepted

Answered

Can this implementation of Matlabpool in parallel?

The code will run in parallel. Keep in mind, one path may run quicker than the other paths, so you may nee to create a "barrie...

Can this implementation of Matlabpool in parallel?

The code will run in parallel. Keep in mind, one path may run quicker than the other paths, so you may nee to create a "barrie...

5 years ago | 0

| accepted

Answered

How to use a Windows 7 MATLAB client on a Ubuntu based MATLAB cluster?

The issue may be that the Linux cluster can't resolve bowser. Run the following before validation pctconfig('hostname','<i...

How to use a Windows 7 MATLAB client on a Ubuntu based MATLAB cluster?

The issue may be that the Linux cluster can't resolve bowser. Run the following before validation pctconfig('hostname','<i...

5 years ago | 0

Answered

parallel call external exe file?

Have you tried calling system? By the way, as it's written, you don't need eval, you ought to be able to just use !

parallel call external exe file?

Have you tried calling system? By the way, as it's written, you don't need eval, you ought to be able to just use !

5 years ago | 0

Answered

Im having trouble fixing the "cannot be classified error" in my parfor loop (The variable perror in a parfor cannot be classified)

The formatting of the code isn't displaying properly, so I may not have the same code you have. Could you reformat it? Assumin...

Im having trouble fixing the "cannot be classified error" in my parfor loop (The variable perror in a parfor cannot be classified)

The formatting of the code isn't displaying properly, so I may not have the same code you have. Could you reformat it? Assumin...

5 years ago | 0

| accepted

Answered

Parallel computing on multiple computers in a Network

Hi, In order to run a MATLAB Pool across multiple computers, use the <http://www.mathworks.com/products/distriben/ MATLAB Dis...

Parallel computing on multiple computers in a Network

Hi, In order to run a MATLAB Pool across multiple computers, use the <http://www.mathworks.com/products/distriben/ MATLAB Dis...

5 years ago | 2

Answered

SLURM Distributed Computing error

If it helps, there are SLURM integration scripts on File Exchange http://www.mathworks.com/matlabcentral/fileexchange/2991...

SLURM Distributed Computing error

If it helps, there are SLURM integration scripts on File Exchange http://www.mathworks.com/matlabcentral/fileexchange/2991...

6 years ago | 0

Answered

Undefined function or variable 'querybuilder'.

The querybuilder function is part of the Database Toolbox. You can find more information <http://www.mathworks.com/products/dat...

Undefined function or variable 'querybuilder'.

The querybuilder function is part of the Database Toolbox. You can find more information <http://www.mathworks.com/products/dat...

6 years ago | 0

| accepted

Solved

Fibonacci sequence

Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

7 years ago

Solved

Weighted average

Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

7 years ago

Solved

Finding Perfect Squares

Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

7 years ago

Solved

Make a checkerboard matrix

Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

7 years ago

Solved

Remove any row in which a NaN appears

Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

7 years ago

Solved

Determine whether a vector is monotonically increasing

Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

7 years ago

Solved

Column Removal

Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

7 years ago

Solved

Swap the first and last columns

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

7 years ago

Solved

Select every other element of a vector

Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

7 years ago

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

7 years ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

7 years ago

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

7 years ago

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

7 years ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

7 years ago