Parallel for-lopp configuration not possible

Hi
I have problems in running a parallel for-loop. The task manager indicates only 8% workload, showing that only one of the 12 cores is running. I need that for image processing of a directory of about 20 000 tiff-images (U16, greyscale)
I first thought it is a problem of Vision-vis, as they use pointers as image references. Pointers would cause troubles in a parallel for-loop. Therefore I briefly rewrote the morphological filter vis without using the vis from the vision-toolbox. but it does not help. The programm is still running with 8% workload, indicating only 1 core is active.
A small test showed that labview is able to run a task with all 12 cores. It is not a windows configuration problem.
Maybe someone has an idea why this doesn't work so far. The main programm ist called 'StreifenWegmachenAlleBilderv11Multicore'. All other vis are sub-vis. At the moment it would take ~1 week to process all images. I want to speed it up for an overnight-operation.
Greetings
b
Solved!
Go to Solution.
Attachments:
BildStackBearbeitung.llb ‏549 KB

Yamaeda wrote:
GaussFilterOhneVision isn't reentrant, that'll effectively stop parallelization.
Yes, the missing reentrancy is the main problem. You could even inline it.
I also get more than 2x faster result by parallelizing the outer, instead of the inner FOR loop. (~ 1.2seconds on my 16 core Xeon)
Have you tried the 2D convolution directly. Probably would save you quite some programming effort. Even has the padding built-in
Also, your generation of the Gaussian kernel is a bit convoluted. You could use the outer product of a 1D gaussian. The results agree within ~1e-18 (see snippet, probably irrelevant after converting back to U16)
LabVIEW Champion . Do more with less code and in less time .
Attachments:
GaussKernel.png ‏46 KB

Similar Messages

  • "Configuration not possible for material PC-2011 : Reason 3"

    Hi any MM guys,
    Please help me to solve the following thread.
    "Configuration not possible for material PC-2011 : Reason 3 --> Help
    Message no. V1360"
    Thanks and regards
    D.Srinivasa rao

    I believe you are trying use Sales order for services....and you have created material in services if I am not wrong.
    Again sticking to basic rules, you can configure only materials with type KMAT. Further for services, I believe there is a concept called milestone billing...which I am not sure about.
    Chk SAP notes, 625092, 26187
    BR,
    Krishna

  • Document is in transfer for PO, creation not possible

    Hi
    We are using SRM 4.0 EC scenario. Recently we have been facing the subjected error 'Document is in transfer for PO, creation not possible' while making the confirmation in SRM. It is observed that this is happening mostly in case once we make GR and cancel and repost. Thru some other thread posted in forum, came to know taht we need to delete the entries in table "BBP_DOCUMENT_TAB"  via FM ''BBP_DELETE_FROM_DOCUMENT_TAB''. I ran thei FM but found NO poitive results. Hope somebody can help me out. This error became very common in our production system
    Thanks
    Kiran

    Hi Kiran,
    Please, use the report CLEAN_REQREQ_UP to clear the entry made for the GR in BBP_DOCUMENT_TAB. The problem comes because there is an entry for the GR in the table probably from the previous creation.
    Regards
    Saravanan.
    Please award if useful

  • GR Error: Document is in transfer for PO, Creation not possible

    Hi Experts,
    While posting a GR for PO, following error is being encountered,
    'Document is in transfer for PO, Creation not possible'.
    I checked the PR - PO. There are multiple GRs for the PO and all earlier GRs are posted successfully.
    For posting a new GR this error is coming.
    Any pointers?
    Thanks in advance.
    -Dhananjay

    Hi Kiran,
    Please, use the report CLEAN_REQREQ_UP to clear the entry made for the GR in BBP_DOCUMENT_TAB. The problem comes because there is an entry for the GR in the table probably from the previous creation.
    Regards
    Saravanan.
    Please award if useful

  • Account determination for LGCA -INS not possible..?

    Hi experts
    Here i m getting the error "Account determination for LGCA -INS not possible" while doing GOODS receipt for capital items.
    we have done GR earlier for the same capital item, but now recently i m getting this account determibation error .
    Can any body giv some idea to trouble shoot the problem.
    Thanks
    Sap-MM

    Hi
    ur getting this type of error  .. take example as below :
    "Account determination for entry IN01 GBB 1000 BSA 7910 not possible"
    1 go to transaction OBYC
    2 Click on GBB
    3 it will ask you for Chart of Accounts.. give input  IN01....enter
    4It wil show you a list of Valuation /General Modification/Valuation Class/Debit GL account/credit GL account
    Maintain Along with the help of MM guy/FI guy/ Nor wrong GL posting will take Place
    rgds
    BV
    Edited by: Brijesh Verma on Dec 14, 2009 4:53 PM

  • Account determination for entry PRD not possible

    Hi All,
    In exsiting PO line, we did two goods receipt, and we tried to invoice the vendor based on the goods receipt. The wearid thing is only one goods receipt got invoiced, the other gives error message saying: " account determination for entry PRD not possible ".
    I checked with finance team, they said we intentionally didn't set up the account for price difference. And if one GR can be invoiced and goes to correct accout, the other one should be able to invoice as well, when I simulate the entry, the vendor account didn't get picked up, I think that's the key of this problem.
    why the vendor account didn't get picked up by the system? please advise if you have any thoughts, I appreciated.

    Nancy,
    This is the restriction with materials managed in moving average price. I'm guessing that the user has performed goods issue between GR and IR on the second material. If you'd like to keep the current config setting, you will need to reverse the GI transaction, post the invoice, and repost the GI.
    The above steps should resolve your current issue. However, this may not be the best approach as you will need to keep asking user to reverse their GIs every time the stock quantity is less than invoiced quantity. I would recommend that you talked to FI folks and convince them this is part of standard SAP process. It makes sense because we want to distribute the difference between invoice price and PO price to the existing stock quantity. Without this restriction, the moving average price can be skewed disproportionately.

  • Item configuration not possible in Sales Order

    Dear friends,
    Our requirement is as follows:
    I have created a configuration material and assigned MTS strategy (10) in MRP3 view.
    As I am carrying out cost estimate run and SAP does not allow to calculate std cost for config material, I assigned same material in MRP3 view as variant. This allows std cost estimate run.
    Now while creating sales order, system is showing configuration screen in display mode.I am not able to input characteristics in Sales order.
    Is there a way out??
    I have changed the requirement class relevant to strategy 10 and put configuration allowed tick.
    Additional Information:
    1. If I don't assign the material in MRP3 view, sals order config is allowed. But then I could not run the cost estimate.
    2. If I assign account assignment category M or E in requirement class, sales order configuration is possible. But then sales order becomes MTO, which is not accepted.
    Thanks in Advance,
    Avinash

    usuaully, config material, business follows MTO strategy,
    Good Question. Let me explain why MTS with configuration.
    We always try to produce high quality product - Char Fe content should be 90%. Because this product will always have higher demand and higher price.
    But as ours is a process industry we end up producing FE content 80 to 90 % (about 40 % of our material is between 80 to 85 %Fe content). FG is stored in batches according to Fe content.
    Now I take orders from customers for the low Fe content produced with reduced rate. The negotiated Fe content I want sales team to put in Sales order configuration. That is the only reason I want the chars editable in SO.
    Even customer asked for low Fe content, I can supply high Fe content and take additional amount according to contract. This is how the industry works. Basically customers are putting orders for low FE, as high Fe material is not available in the market.
    As I will always try to produce high quality product, the scenario can not be MTO. But I want to mention customer demanded Fe content in Sales order so that I can supply him right batch from yard.
    Regards,
    Avinash

  • Configuration not possible in mto process

    hi
    i am getting a error message configaration not possible for reason:3 when i am saving the sales order in make to order process.
    Can anyone please answer this question.
    regards
    arun

    Dear Arun
    Probably, you would be trying to create a sale order for configurable material the settings for which has not been done properly.
    Go through the link and check whether your settings are in line with the link
    [Material Master Data for Configurable Materials |http://help.sap.com/saphelp_46c/helpdata/en/92/58c09b417011d189ec0000e81ddfac/frameset.htm]
    Thanks
    G. Lakshmipathi

  • Configuration not possible

    hi
    i am getting a error message configaration not possible for reason:3 when i am saving the sales order in make to order process.
    Can anyone please answer this question.
    regards,
    venkat

    Dear Pingali
    Check whether your configuration is in line with this link
    <a href="http://help.sap.com/saphelp_47x200/helpdata/en/e0/71bb1f9c9f11d191920000e8a5f6e6/content.htm">Make To Order Sample Scenario</a>
    Thanks
    G. Lakshmipathi

  • Update for CC 2014 not possible, i need a quick solution. I also cant import anything

    Creative Cloud update is not possible, i also can import only once in AE CC 2014.
    I`m on Mac Yosemite 10.10.2 the Cloud Manager also shows he cant finish the Update.

    Quit Creative Cloud desktop application .
    Step 1:
    1) Right click on Finder icon and  select "Go-To" Folder option.
    2) You will get a text box, type-in below command and then hit 'Return' key.( Do not miss ~ symbol)
    ~/library
    3)Then navigate to Application Support>Adobe.
    Open Adobe folder and rename AAMUpdater and AAMUpdater-old.
    Step 2:
    1) Right click on Finder icon and  select "Go-To" Folder option.
    2) You will get a text box, type-in below command and then hit 'Return' key.
    /library
    3)Then navigate to Application Support>Adobe.
    Open Adobe folder and rename AAMUpdater and AAMUpdater-old.
    Then launch Creative Cloud application and check.
    Let me know whether it gives blue update button  for After Effects CC 2014 ?

  • Order book for overseas friends not possible?

    I want to create a book which should then get sent to friends which are overseas.
    I am living in australia and want to send a book as a gift to europe (gemany) - but it seems to be not possible when i want to pay with my australian credit card. Am i doing something wrong or what is my option?
    Thanks for any help...
    Tino

    It is not possible - it must be shipped to the country you are ordering from and must match your credit card information
    http://www.apple.com/au/support/photoservices/shipping/
    Do you ship internationally?
    Customers with Australian billing addresses can ship photo orders to any address in Australia. Apple Photo Services does not currently offer shipping from Australia to other countries at this time.
    LN

  • Configuration not possible for materi Reason 1 -- Help

    Dear Experts,
    Please suggest your valuable points for the above subjected issue. Im facing the issue while creating the sale order in va01 t-code.
    regards,
    Vimal

    Dear Sundaresan . E. V,
    Hope fully you answered my questions as well. But i did  minor mistake while enter the line item material i forget to enter the plant, that is the reason for that error.
    Anyway thanks for your valuable reply.
    Regards,
    Vimal

  • Formula Variable for Date/year not possible

    Hi, I have a query where I want to create a formula variable for a year that I can use in a user exit to populate other variables.  When I go to create a formula variable there is not option for a date or year variable.  I only see Amount; Quantity; Price; Number.  Is it possible just to create a formula variable for a year input without having a year time characteristic in the query?
    Thanks!

    I just ended up creating a Formual Variable as a number.  Thank You

  • Device Redirection for RD Gateway not possible with MFA and Central Network Policy

    Prior to using Azure MFA with my Remote Desktop Gateway i used a connection authorization policy (CAP), this policy allowed me to limited what devices (drives, printers, clipboard) were redirected when connecting through the gateway. However with MFA i
    had to use a Central Network Policy Servers, which is pointed to my multifactor server, and doing so i know longer have connection policies available to select what device redirection is available. i can set this at the RD session host, however, i only want
    the policy to apply when coming in via the gateway, meaning i don't want users to see their local drives or printers when coming in via Internet, but if they are internal and hit the RD session host i want them to see local drives and printers. So now i have
    no way to limit device redirection if i want to use MFA with my RD Gateway, is there not a work-around for this, this seems like something that was missed?

    It works in my configuration.   I pass back the redirection bitmap from the "base" RADIUS server (that MFA targets) and MFA passes it back to the gateway

  • Back Up for BI Configuration (NOT DATA)

    Hi,
    How can I back up only the configuration in the BI Server?
    (So if ever there is something wrong with the server i will have configuration backed up some where)
    The client does not want to back up data, as the same data is also available in ECC.They are only concerned about the configuration (development) in the BI Server.
    Is there a way for me to back up only the configuration in the BI server? How can i do it?
    Thanks

    Hi Daniel,
    Best way to keep track of the configuration is maintian a detailed log for each transport request you are releasing to the Quality and Production server.
    Also the Quality and Production server should be closed so that configuration can't carryout directly on these servers. Means, if some thing is to be changed, first you have to do it in the Dev and subsequently after testing move to Production. This way configuration is tracked and maintainded properly.
    Hope this helps.
    Regards,
    Sreenivas.

Maybe you are looking for