From dev-return-5053-archive-asf-public=cust-asf.ponee.io@mxnet.incubator.apache.org Fri Nov 30 02:48:06 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 60CAB18066C for ; Fri, 30 Nov 2018 02:48:06 +0100 (CET) Received: (qmail 22727 invoked by uid 500); 30 Nov 2018 01:48:05 -0000 Mailing-List: contact dev-help@mxnet.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mxnet.incubator.apache.org Delivered-To: mailing list dev@mxnet.incubator.apache.org Received: (qmail 22715 invoked by uid 99); 30 Nov 2018 01:48:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2018 01:48:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 3918E181192 for ; Fri, 30 Nov 2018 01:48:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.047 X-Spam-Level: ** X-Spam-Status: No, score=2.047 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id rXXnbyaCvuL4 for ; Fri, 30 Nov 2018 01:48:03 +0000 (UTC) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id AF3535FCEE for ; Fri, 30 Nov 2018 01:48:02 +0000 (UTC) Received: by mail-wr1-f50.google.com with SMTP id c14so3779382wrr.0 for ; Thu, 29 Nov 2018 17:48:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=gG7xnnavou3X1XYkIBG3LR3aiIceiFtet3yTIaFokHk=; b=XUEiyMa9UeleD5qvhEmnyZ54DRrpfFREy336xoxeB3tLLH/pp0tHXHV//oWkJ7MRZK CKuS5diBaaR4vAHNdishprv9bnz3WrmrKyCJr65wgTzUMPjYxDXhSflnr0XMbOG/nyIE H/DypmrOr7bjSv3FBjpIEGoYtzCHSvCxE2bCBNaMqr2PctaK0LHLFSE3AwwkMdcg3Dfb 7mjN0jDDQaRjkJex3rfOJT/g+EpccmJ44bF+NA8uHENXxIgSI2wQHAkQ2EhQTQXBGbmB tzzMt043+UmhqMgzMe3wvdTJAEUd47yIkkD3f7R6hGcbWnck0MB/gf8/mp+Nbox3yzzu tw1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=gG7xnnavou3X1XYkIBG3LR3aiIceiFtet3yTIaFokHk=; b=sH/4Yj0oIHsbY+ls9tW9ej2BpqRC/kz8+nOY7U6jkDSL1x8FDuYutq58v8YKV0QGVf D0zZlrPzSnG63qzyfCqHWcaLM3q2KTKpGUb6rtgBAwFT9953AAYwmRikAdRTlUJiae22 yyWnnGJdmsX4vmPkwBTUn//yAaTbrgVC/yUTyYPhb/+uc2ei68cC6qwaoIzvThXUTvBT s7Tlj1E0fcqrPIBa87DrQ+pPem29EdIn4v6T7a4d7HyI62nGT1eiwg7JwetL7ASyESAw b+sI2QHSTzqaG48Jjpd2OpbOETWa0oIPwZjHFugM7E86oonF04aIyqVsEyQR6viOySpA AfdQ== X-Gm-Message-State: AA+aEWbsNtdOTWQTXtugZqthpPiMGiyDJH6sGO1fzszwNkX3m92z690z K981hc+hTWP9NW0XwljTcT71XCKAZkQdA9cF6Tyfi8or X-Google-Smtp-Source: AFSGD/VlR8pZ8MP+JqLyPVGZIn19EuTEK3Aiq62isadRs+jLPwVy3MXdYVaS9pWVT+7/1pgECOYd11ow2e6/v4SodT4= X-Received: by 2002:a5d:6487:: with SMTP id r7mr3371910wru.263.1543542476169; Thu, 29 Nov 2018 17:47:56 -0800 (PST) MIME-Version: 1.0 From: Alex Zai Date: Thu, 29 Nov 2018 17:47:42 -0800 Message-ID: Subject: MKLDNN dynamically linked To: "dev@mxnet.incubator.apache.org" Content-Type: multipart/alternative; boundary="000000000000fce80f057bd7fcf8" --000000000000fce80f057bd7fcf8 Content-Type: text/plain; charset="UTF-8" Created new thread for this as my email were not sending through my work email. Original thread can be found here ( https://lists.apache.org/list.html?dev@mxnet.apache.org:lte=1M:dynamically) There seems to be an issue linking static libraries (MKLDNN) on windows as not all VS compilers support statically linking ( https://stackoverflow.com/questions/18901128/link-static-library-using-cmake ) PR can be tracked here ( https://github.com/apache/incubator-mxnet/pull/13197). Jenkins fails on windows build. There are two routes I see here (both non-ideal): 1. Keep mkldnn as a dynamically linked library. This will cause issues, especially since the mkldnn version has been incremented to 0.17 and soon to be 0.17.1. 2. Change build file such that mkldnn is statically linked in linux/mac but remains dynamically linked on windows. This will complicate our build files (cmakelistfile and makefile) but it may be easier to resolve mkldnn issues on mac/linux since we'll know what version of mkldnn they are using. --000000000000fce80f057bd7fcf8--